You can override any parameter in a cataloged procedure except the PGM= parameter in the EXEC statement. Overriding of statements or fields is effective only for the duration of the job step in which the statements appear. The statements, as stored in the procedure library of the system, remain unchanged.
To respecify, add, or nullify statements, include statements in the input stream that contain the required changes and identify the statements to be overridden.
Any EXEC parameter (except PGM) can be overridden. For example, the PARM= and COND= parameters can be added or, if present, respecified by including them in the EXEC statement calling the procedure. The JCL notation to specify these parameters is:
//ASM EXEC PROC=ASMACLG,PARM.C=(NOOBJECT),COND.L=(8,LT,stepname.c)
stepname identifies the EXEC statement within the catalogued procedure (ASMACLG) to which the modification applies.
If the procedure consists of more than one job step, a PARM.procstepname= or COND.procstepname= parameter can be entered for each step. The entries must be in order (PARM.procstepname1=, PARM.procstepname2=, ...).
All parameters in the operand field of DD statements can be overridden by including in the input stream (following the EXEC statement calling the procedure) a DD statement with the notation //procstepname.ddname in the name field. procstepname refers to the job step in which the statement identified by ddname appears.
If more than one DD statement in a procedure is to be overridden, the overriding statements must be in the same order as the statements in the procedure.
[ Top of Page | Previous Page | Next Page | Contents | Index ]