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 motivation behind coding class parameter in job statement?
In job processing, what happens in execution stage?
what is the resolution for sb37 error
what JCL Procedures?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what sort card you will use to copy the data from one dataset to another dataset?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
Explain the jcl exec statement?
which utility is used to sort a file in jcl?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
what is the use of JCL?
what is DD statement is used in JCL?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
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