CL Command Reference - DCLPRCOPT
CL Command List > DCLPRCOPT Reference
Description:
The Declare Processing Options (DCLPRCOPT) command lets you define compiler processing options.
Restrictions:
. This command is valid only within CL procedures. All declare commands (DCL, COPYRIGHT, DCLF, and DCLPRCOPT) must follow the PGM (Program) command and must precede all other commands in the program. The four types of declare commands can be intermixed in any order.
. Only one DCLPRCOPT command is allowed by the CL compiler; if more than one are specified, message CPD0323 is sent and the compile fails.
Examples:
DCLPRCOPT SUBRSTACK(50)
This command sets the maximum number of subroutine stack entries to 50. When the CL program is run, if the subroutine stack depth exceeds 50, escape message CPF0822 will be sent.