Loading...
Select Version
&pagelevel(4)&pagelevel
The LOGGING operand in the call command for background procedures (i.e. ENTER-PROCEDURE) has a different format than in the CALL-PROCEDURE and INCLUDE-PROCEDURE commands, and hence different effects.
In the case of ENTER-PROCEDURE, this operand has the following function: the caller uses *YES and *NO to switch logging of job execution on and off and uses *STD to switch on logging only for the case where the file is not read-protected.
Unless otherwise specified, procedures that are called in the background are logged on SYSOUT. The number of records to be written to SYSLST or SYSOUT can be set in the ENTER-PROCEDURE command with the SYSLST-LIMIT operand (the SYSLST-LIMIT also applies for SYSOUT).