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 / manohar (techmahindra)
In JCL one key word parametor is there that is DPRTY.It can
be done by using DPRTY(Value1,Value2) in the
job step,
hear Value1 allwawys 15
DPRTY=(15*15)=255
yOU CAN INCRESE Value2 value based on your requirment,You
can execute up to 255 steps in your JOB.
eg.,
//MANOHAR JOB 'TECHMAHINDRA'
//**
//STEP01 EXEC PGM=A ,DPRTY=(15*6)
//STEP02 EXEC PGM=A ,DPRTY=(15*5)
//STEP03 EXEC PGM=A ,DPRTY=(15*3)
//STEP04 EXEC PGM=A ,DPRTY=(15*4)
//STEP05 EXEC PGM=A ,DPRTY=(15*2)
//STEP06 EXEC PGM=A ,DPRTY=(15*1)
//**
//
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 ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is timing concept in mainframe?
How to submit jcl through a cobol program?
Explain how can values be passed from the job stream to an executable program?
How can the disposition of sysout datasets be set for an entire jobstream?
What do you understand by the terms: joblib and steplib?
How can a fb file convert to vb file using sort program?
Explain how can the submitting users racf authority be overridden in a job stream?
List in order the hierarchical levels of jcl?
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.
which parameter is used to check the syntax of a jcl without executing it?
What happens if both JOBLIB & STEPLIB is specified ?
What is the purpose of dd dummy statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Differentiate between addressing mode and run mode.
When space is allocated for an output dataset, what units can be used?