Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Requesting logging

&pagelevel(4)&pagelevel

The SET-PROCEDURE- OPTIONS command serves to define whether logging is performed or not, and what is to be logged during the procedure run. Once this general definition has been made, the caller can set more detailed options in the CALL-PROCEDURE/ INCLUDE-PROCEDURE command.

Logging is affected by the settings of various commands, which can be grouped as below for foreground procedures in respect of the procedure and job level:

  • SDF-P commands, which are used to define within the procedure whether logging is allowed: SET-PROCEDURE-OPTIONS and MODIFY-PROCEDURE-OPTIONS, LOGGING-ALLOWED operand

  • SDF-P commands for the procedure call in which the caller can request a log: CALL-PROCEDURE and INCLUDE-PROCEDURE, LOGGING operand

  • SDF-P commands for the procedure’s test phase: TRACE-PROCEDURE and MODIFY-PROCEDURE-TEST-OPTIONS.

  • Commands that affect logging on a job level or for SDF: MODIFY-JOB-OPTIONS and MODIFY-SDF-OPTIONS.

The MODIFY-JOB-OPTIONS command affects the logging of job execution (for example, whether a supplementary SYSLST log or hard copies are to be generated). MODIFY-SDF-OPTIONS affects the log format. These two commands are not SDF-P commands. They are described in detail in “Commands” [3].
This section deals only with the effects of SDF-P commands on logging. To find out whether logging is currently being performed, use the LOGGING-MODE( ) function (see "LOGGING-MODE( ) Check logging ").