If a DD is for a SYSOUT data set and you want to build your own DD table and primarily care about the order of the DSN, DISP, UNIT and VOL parameters, you can alphabetically order the parameters to define the printout. To satisfy these specifications, code the following:
CAZ1NCDD CSECT
DC AL2((DDEND-CAZ1NCDD-3)/9)
DC AL1(0),CL8' '
DC AL1(6),CL8'DSNAME'
DC AL1(4),CL8'DISP'
DC AL1(4),CL8'UNIT'
DC AL1(6),CL8'VOLUME'
DC AL1(6),CL8'SYSOUT'
DC AL1(6),CL8'COPIES'
DC AL1(3),CL8'FCB'
DC AL1(5),CL8'FLASH'
DC AL1(3),CL8'UCS'
DC AL1(255)
DDEND EQU *
END
Note: Specify the DSNAME and VOLUME parameters in their long form to ensure that CA JCLCheck processes both the long and abbreviated form when it encounters either of these parameters in the original JCL. If CA JCLCheck encounters keyword parameters in the original JCL and they are not specified in this sequence, one of the following conditions occurs:
To code an EXEC table ensuring that the REGION and DPRTY parameters are first and the PARM field last, code the following:
CAZ1NCEX CSECT
DC AL2(EXEND-CAZ1NCEX-3)/9)
DC AL1(3),CL8'PGM'
DC AL1(4),CL8'PROC'
DC AL1(0),CL8' '
DC AL1(6),CL8'REGION'
DC AL1(5),CL8'DPRTY'
DC AL1(4),CL8'PARM'
DC AL1(255)
EXEND EQU *
END
Note: You must include the PGM and PROC keywords in your EXCSECT table followed by the positional parameter slot.
|
Copyright © 2014 CA.
All rights reserved.
|
|