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 the purpose of the dd keylen parameter?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Mention the types of job control statements?
when does a dataset go uncataloged?
how you can direct the data to spool using SYSOUT option?
What are the jcl procedures?
how to do automated restart when a job abends?
Can I share my data with other jobs? How?
Give the syntax of job specifying jcl statement.
What is the motivation behind coding class parameter in job statement?
For what purpose steplib and joblib are used ?
Is it possible to left uncode disp?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?