JCL EXEC DYNAMNBR

JCL - EXEC COND JCL - EXEC MEMLIMIT

Advertisements


DYNAMNBR parameter used to specify to the system to hold the number of resources for reuse.

DYNAMNBR parameter can be coded instead of several DD statements with DYNAM parameter.

DYNAMNBR is an optional parameter.


Syntax:

DYNAMNBR[.procstepname]=n

n Specifies the number to calculate maximum number of dataset allocation for reuse.

The value is from 0 through 3273 minus the number of DD statements at the specified step.

Defaults and Overrides:


If no DYNAMNBR parameter is coded, the default is 0.

If DYNAMNBR coded incorrectly, the system uses the default of 0 and issues a JCL warning message.


Example 1:

//STEP01 EXEC PGM=SAMPLE,DYNAMNBR=9

In the above example, the DYNAMNBR statement can specify that the system should hold the data set allocations for reuse are: 9 minus the number of DD statements following this EXEC statement.


Example 2:

//STEP01 EXEC PROC=MTHPROC,DYNAMNBR.STEP02=9

This EXEC statement calls the cataloged or instream proc MTHPROC. DYNAMNBR.STEP02 specifies that the step STEP02 in the MTHPROC can specify that the system should hold the data set allocations for reuse are: 9 minus the number of DD statements following STEP02 EXEC statement.


JCL - EXEC COND JCL - EXEC MEMLIMIT

Advertisements