>>-/LOG--text--------------------------------------------------><
Table 74 lists the environments (DB/DC, DBCTL, and DCCTL) from which the command can be issued.
Command | DB/DC | DBCTL | DCCTL |
---|---|---|---|
/LOG | X | X | X |
/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.
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.