IMS Version 9

/LOG

Format

Read syntax diagramSkip visual syntax diagram>>-/LOG--text--------------------------------------------------><

Environments

Table 74 lists the environments (DB/DC, DBCTL, and DCCTL) from which the command can be issued.

Table 74. Valid Environments for the /LOG Command
Command DB/DC DBCTL DCCTL
/LOG X X X

Usage

/LOG writes a single-segment message to the IMS system log. Any text can be logged, including transaction codes or command streams. An X'02' log record is produced and contains the text. This command applies only to the currently entered message segment and does not establish a continuing operational mode.

text is the alphanumeric character message to be logged.

Example for /LOG Command

Entry ET:

  /LOG TODAY IS MONDAY

Response ET:

  DFS058I  LOG COMMAND COMPLETED

Explanation: An X'02' log record containing the text

TODAY IS MONDAY

is written to the IMS system log.

Go to the previous page Go to the next page

IBM Confidential

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright: IBM Corporation 1974, 2004 Copyright IBM Corporation 1974, 2004  timestamp Last updated: March, 2004