IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN
EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
Answer Posted / pradip
I propose a syntax below to meet the requirement,
excute first STEP008 then excute STEP004
//JOBCARD
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=path of your JCL,DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP008)
/*
//*
//STEP002 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=path of your JCL,DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP004)
/*
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain in DD statement what is the use of DCB parameter?
Explain the purpose of the dd keylen parameter?
In sms datasets, what is the function of the dd mgmtclas keyword?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What is job control language?
what is the use of IEBGENER utility?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the function of the dd avgrec keyword in sms datasets?
List the different jcl statements that are not permitted in the procedures?
when can a job time-out occur? How to overcome that?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
what is “Cond= even” and “Cond=only”?
Are there any set of rules for the names of the steps used in a job?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Explain the purpose of dd dummy statement?