View previous topic :: View next topic
|
Author |
Message |
erasani_p
New User
Joined: 29 Jun 2004 Posts: 6
|
|
|
|
In my job i have 10 steps. I dont want to execute the first 8 steps. Only 9th & 10th steps have to be executed. How can i code cond parameter for that job. Is there any other alternative for this problem other than cond.
Thanks
Prashanth |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
The best way is to use Step Restart in the JOB card.
Regards, Jack. |
|
Back to top |
|
|
erasani_p
New User
Joined: 29 Jun 2004 Posts: 6
|
|
|
|
Can u give me the code for that. I never worked with restart.
Thanks
Prashant |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
RESTART can be coded in following manner.
Job card will look like -
Code: |
//xxxxxxxx JOB 0000,'TEST',CLASS=J,MSGCLASS=X,MSGLEVEL=(1,1),RESTART=STEP09
|
Regards,
Sandip. |
|
Back to top |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
Just code restart=stepname in the job step.
In your case give the stepname as step9.
Thanks,
Anu |
|
Back to top |
|
|
erasani_p
New User
Joined: 29 Jun 2004 Posts: 6
|
|
|
|
Thanks anuradha and sandeep for your quick reply.
Prashanth |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Prashant,
Be careful when you use restart. If the step is in a proc you must use the procstep name too.
That's why it's always best to check the manual. It contains that kind of detail.
Regards, Jack. |
|
Back to top |
|
|
v.suresh
New User
Joined: 29 Jun 2007 Posts: 5 Location: Bangalore
|
|
|
|
For this same problem how we can use COND parameter? |
|
Back to top |
|
|
kavisuresh
New User
Joined: 22 May 2007 Posts: 7 Location: chennai
|
|
|
|
If its an Override u can use the below statements which will flush 8steps and continue with 9th and 10th steps,
//Procname EXEC procname,
// COND.STEPNAME1=(0,LE),
// COND.STEPNAME2=(0,LE),
// COND.STEPNAME3=(0,LE),
// COND.STEPNAME4=(0,LE),
// COND.STEPNAME5=(0,LE),
// COND.STEPNAME6=(0,LE),
// COND.STEPNAME7=(0,LE),
// COND.STEPNAME8=(0,LE)
Hope the above may help u
Regards,
Kavisuresh |
|
Back to top |
|
|
|