//stepname EXEC PROC=ASMAC, // PARM=NODECK //SYSUT1 DD UNIT=3390, // SPACE=(4096,(300,40)) //SYSIN DD *
·
·
·
assembler source statements
·
·
·
/*
//stepname EXEC PROC=ASMACLG, // PARM.C=(NOLIST,OBJECT), // COND.L=(8,LT,stepname.C)
For this run of procedure ASMACLG, no assembler listing is produced, and running of the binder job step //L would be suppressed if the return code issued by the assembler (step C) were greater than 8.
When you override the PARM field in a procedure, the whole PARM field is overridden. Thus, in this example, overriding the LIST parameter effectively deletes PARM=(OBJECT,NODECK). PARM=(OBJECT,NODECK) must be repeated in the override statement; otherwise, the assembler default values are used.
//jobname JOB //stepname EXEC PROC=ASMACL, // COND.L=(0,NE,stepname.C) 4 //C.SYSPRINT DD DSNAME=PROG1,UNIT=TAPE, 2 // VOLUME=SER=TAPE10,DCB=(BLKSIZE=665) //C.SYSLIN DD DCB=(BLKSIZE=800) 3 //C.SYSIN DD UNIT=282,LABEL=(,NL), 1 // DCB=(RECFM=FBS,BLKSIZE=800) //L.SYSLIN DD DCB=stepname.C.SYSLIN 3 //L.SYSLMOD DD DSNAME=USER.LIBRARY(PROG),DISP=OLD 5 /*
The order of appearance of overriding ddnames for job step C corresponds to the order of ddnames in the procedure; that is, SYSPRINT precedes SYSLIN within step C. The ddname C.SYSIN was placed last because SYSIN does not occur at all within step C. These points are covered in the applicable JCL Reference.
//stepname1 EXEC PROC=ASMAC,PARM=OBJECT //SYSIN DD *
·
·
·
assembler source statements for program 1
·
·
·
/* //stepname2 EXEC PROC=ASMACLG //C.SYSIN DD *
·
·
·
assembler source statements for program 2
·
·
·
/* //L.SYSIN DD * ENTRY PROG /* //G.ddname DD dd statements for G step
The applicable JCL Reference provides additional descriptions of overriding techniques.
[ Top of Page | Previous Page | Next Page | Contents | Index ]