Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
LOG—write a message to the log data set z/OS ISPF Services Guide SC19-3626-00 |
|
The LOG service causes a message to be written to the ISPF log data set. The log data set, if allocated, is normally processed when you exit ISPF. A LOG command is available to allow you to process the log data set without exiting ISPF. Call invocation formatParameters
Return codesThese return codes are possible:
Example 1In a CLIST, dialog variable TERMSG contains a message-id. Write
this message in the ISPF log file.
Example 2In a PL/I program, program variable TERMSG contains a message-id.
The variable TERMSG has been made accessible to ISPF by a previous
VDEFINE operation. Write this message in the ISPF log file. Set the
program variable BUFFER to contain:
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the command:
or alternately
Example 3Write message ABCX013 in the ISPF log file.
Set
the program variable BUFFER to contain:
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the command:
or alternately
|
Copyright IBM Corporation 1990, 2014
|