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


Please Help Members By Posting Answers For Below Questions

I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

823


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1803


how would you create a temporary dataset? And where will you use them?

760


How to execute 2nd and 4th steps among 5 steps in jcl proc?

744


What is the function of a dd statement?

700






whats the diff bw the evaluate also and and?

1846


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1960


How can values be passed from the job stream to an executable program?

867


What is the function of dd disp parameter?

650


What does a disposition of (MOD,DELETE,DELETE) mean ?

660


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1795


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1623


what are the various stages of job processing?

729


when can a job time-out occur? How to overcome that?

745


Brief description of inline procedure of jcl.

677