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 / nagaraj
It can be done by using DPRTY(dispatching priority) in the
job step,
eg., code dprty = (15*12) + 16 in step02
dprty = (15*07) + 06 in step03
dprty = (15*10) + 16 in step04
dprty = (15*05) + 04 in step05
dprty = (15*04) + 03 in step06.
by doing this according to there dispatching priority each
step will be executed,
first it will execute step01,02,04,03,05,06
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Is condition checking possible in jcl? If yes, how?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Explain the function of the dd dcb keyword?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Explain the function of //cntl statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What is the motivation behind coding class parameter in job statement?
how to do automated restart when a job abends?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What are the parameter we cannot use in procedure?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is the function of job statement in jcl?