JCL EXEC ACCT

JCL - EXEC Statement JCL - EXEC ADDRSPC

Advertisements


ACCT parameter used to specify accounting information subparameters that apply to the step.

The subparameters can be one or more.

The system passes this subparameters information to the installation accounting routines.


Syntax:

ACCT[.procstepname]=(accounting-information)

[.procstepname] Procedure step-name containing ACCT to be affected
accounting-information Specifies one or more subparameters of accounting information as defined by the installation

The entire accounting information must not exceed 142 characters including commas etc,.

When multiple subparameters, separate them by a comma and whole text enclosed with parentheses or apostrophes.

If any special characters specified, whole text should enclosed with parentheses or apostrophes.

If continuation to another line, whole text should enclosed with parentheses.


Example 1:

//STEP01 EXEC PGM=SAMPLE,ACCT=(ACCT7)

This EXEC statement executes program SAMPLE and specifies accounting information for this job step.


Example 2:

//STEP02 EXEC PROC=MTHPROC,ACCT=('/007/')

This EXEC statement calls cataloged or in-stream procedure MTHPROC. The accounting information applies to the STEP02 and to all the steps in procedure MTHPROC.


Example 3:

//STEP03 EXEC PROC=MTHPROC,ACCT.STEPZ=('/007/')

This EXEC statement calls cataloged or in-stream procedure MTHPROC. The accounting information applies to the STEP03 and to STEPZ in procedure MTHPROC.


JCL - EXEC Statement JCL - EXEC ADDRSPC

Advertisements