I have 10 steps in my jcl and i am using cataloge procedure at 11th step in my JCL which has 15 steps in it.
i want to execute 2nd & 3rd step from my jcl and my catalog proc starts at 11th step in JCL, And i need to execute 6 - 10 step from catalog proc.
i Tried with following code:
//DIMA3135 JOB (DIMAD,DEVL),'CREATE NON MON FILE',
Which is able to restart from step06 of catalog proc, but i need to execute few of the steps present in my jcl before it.
Please let me know the suitable restart parameter for the same.
Joined: 14 Mar 2007 Posts: 8629 Location: Back in jolly old England
What does the word RESTART mean to you. It is a parameter that says START the job from a certain place. That is it, defined, set out, complete. It does not say start here but then miss out a few steps, it merely tells the OS where a job stream will start execution from.
You need to look at using COND= or seeing if there are any IF/THEN/ ELSE statements in the PROC, because if there are I bet a penny to a pound that they are not changeable so could really throw a spanner in the works.
RESTART parameter is use to restart your from a required step.
RESTART will start your job from request step to end of the job.
e.g. after failure of job u want to restart the job from step 6, u can use the defined the RESTART parameter RESTART=JOBname.SETP06 at your jobcard.
for restarting particular steps, like step 02 and 03. i think u have to comment all other step which is not require for you.
and use the paramenter as