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
What is catelog procedure and how many catelog procedure to use in one job?
what is use of dsn parameter in dd statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Is their any limit for data sets?
What is use of restart and how to use it?
what are the types of abends that occur on job failure? And explain the possible causes of these
What are the 2 types of parameters in dd statement?
What are hierarchy levels in jcl?
Explain the function of //jcllib statement?
What are s0c1, s0c4, s0c5, s0c7 and socb?
is there any way to execute more than one proc in the same exec statement at the same time..?
How do you access an uncatalogued dataset in a jcl?
What is the significance of addrspc parameter in the exec statement?
How gdg are concatenated?
What is the function of dd disp parameter?