In my job I have 6 steps. Step01,02,03...step06.
after executing step02 i want to skip step03 and want to
execute step04. and once step04 is done then I want to go
back and execute step03. once step03 is completed I want
execute step05, 06 and so on... can any one tell me how do
i do that???
Answer Posted / pradeep
See below the exact code for your requirement: Here TEST001
contains your actual JCL to be executed
//Job Card
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP01,STEP02,STEP04)
/*
//STEP002 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP03,STEP05,STEP06)
/*
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
how JCL works?
Explain dd statement in jcl?
Is automatic restart possible in jcl?
What is concatenating?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How to pass data to a program that is coded in an exec statement?
How does jcl act on code(if you take a cobol program)?
What is the purpose of dd * statement in jcl?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Which dd parameters are required?
what JCL Procedures?
what is the use of JCL?
Suppose I have five jobs to do. But I want to hold one?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
What is one line to pass PARM from JCL to COBOL?