View previous topic :: View next topic
|
Author |
Message |
kalaignar_S Warnings : 1 New User
Joined: 06 Jan 2006 Posts: 21
|
|
|
|
Hi..
I have a JCL containing 100 Steps.. I want to execute only the 50th step. Please let me know how can i do that...
Thanks
kalai |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
hi kalaignar_S,
you can give in jobcard restart=step50(stepname),
Thank's
thanooz. |
|
Back to top |
|
|
kalaignar_S Warnings : 1 New User
Joined: 06 Jan 2006 Posts: 21
|
|
|
|
Hi Thanooz,
Thanks for replying... in Jobcard if we give restart=step50 means, it will execute the steps from 50 onwards. but my requirement is i want to execute only the 50 th step.
Thanks
kalai |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
hi kalaignar_S,
you can do this with IEBEDIT utility.
Thank's
thanooz. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi kalai,
The restart logic is right but on y dont u use the condition statement in the 51st step. COND(0,EQ) like that...
Let me know if any other exit exists... |
|
Back to top |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
hi kalaignar_S,
give the RESTART condition on job statement and NULL statement after the 50th step. This will execute only the 50th step. example
//JOBNAME JOB .................... RESTERT=STEP50
//...........
...
...
//STEP50 EXEC PGM=...
//...
//SYSIN DD *
..
..
//
Regards
Vikas |
|
Back to top |
|
|
bhgh Warnings : 1 New User
Joined: 18 Mar 2006 Posts: 21 Location: Hyderabad
|
|
|
|
hi Vikas,
Can u explain flow of the JCL. |
|
Back to top |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
Hi bhgh,
The restart statement in the JOB card will start the job from 50th step and the // (Null statement) after the 50th step, will terminate the job after executing the 50th step. Thus only the 50th step will be executed leaving all other 99 step.
Regards
Vikas |
|
Back to top |
|
|
bhgh Warnings : 1 New User
Joined: 18 Mar 2006 Posts: 21 Location: Hyderabad
|
|
|
|
Hi Vikas,
thanks,my doubt clear. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Let me restate the problem:
How do you execute only step050 in a 100 step job, by ONLY changing the Job Card.
Solution:
Change //job100 job .....
To //job100 job ....,cond=(0,le),restart=step050
That'll do it. |
|
Back to top |
|
|
|