View previous topic :: View next topic |
Author |
Message |
erasani_p Beginner
Joined: 28 Jun 2004 Posts: 14 Topics: 10
|
Posted: Tue Jun 29, 2004 12:31 pm Post subject: Bypassing number of steps in JCL using COND Parameter. |
|
|
My JCL contains 10 steps. I want to skip first 8 steps and execute only the last two steps. How can i go about that?
Any help is appreicated.
Thanks
Prashanth |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Jun 29, 2004 12:45 pm Post subject: |
|
|
Erasani,
1.Use a RESTART parameter.
2.Delete steps 1 thru 7 and run the job
3.Copy steps 8 thru 10 and run it as a seperate job.
Hope this help...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
erasani_p Beginner
Joined: 28 Jun 2004 Posts: 14 Topics: 10
|
Posted: Tue Jun 29, 2004 1:18 pm Post subject: |
|
|
I cannot delete the steps from JCL. If u can give the JCL for Restart parameter solution that will be a great help.
Thanks |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Jun 29, 2004 1:33 pm Post subject: |
|
|
erasani,
Code: |
//USERIDA JOB (,1722),
// 'ERASANI',
// CLASS=A,
// MSGCLASS=Y,
// MSGLEVEL=(1,1),
// RESTART=STEP08,
// NOTIFY=&SYSUID
//*
//STEP01 EXEC PGM=
..
//STEP02 EXEC PGM=
..
//STEP03 EXEC PGM=
..
//STEP04 EXEC PGM=
..
//STEP05 EXEC PGM=
..
//STEP06 EXEC PGM=
..
//STEP07 EXEC PGM=
..
//STEP08 EXEC PGM=
..
//STEP09 EXEC PGM=
..
//STEP10 EXEC PGM=
|
Check this link which explains in detail about the restart parameter
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B631/20.23?DT=20030423085347
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Wed Dec 08, 2004 9:06 am Post subject: |
|
|
Hi,
You can use RESTART parameter as mentioned below.
RESTART=STEP08,COND=(0,LE) in your job card.
This will start the execution from STEP08. |
|
Back to top |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Dec 09, 2004 1:04 am Post subject: explain why u coded COND=(0,LE) |
|
|
explain why u coded , COND=(0,LE) .RESTART shuld do the job.why ure chceking the return code. |
|
Back to top |
|
 |
|
|