View previous topic :: View next topic
|
Author |
Message |
kiransagarvannala
New User
Joined: 28 Mar 2006 Posts: 1
|
|
|
|
hi all,
i have a query nd it goes like this...
there r 5 steps in a job nd i have to execute the first three only..nd not the remaining two...i should n't use cond or restart......pls reply asap.
thanks in advance.
kiran |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Kiran,
The best possible way is to code a NULL stmt after first three step to mark an END-OF-JOB.
Code: |
//STEP1
//::
//STEP2
//::
//STEP3
//::
// <= Shows END-OF-JOB
//STEP4
//::
//STEP5
//:: |
Regards,
Priyesh. |
|
Back to top |
|
|
vikasc4
New User
Joined: 11 Dec 2005 Posts: 32
|
|
|
|
hi kiran,
Put the NULL statement(//) after the third step. it will execute only the first three step.
regards
Vikas |
|
Back to top |
|
|
joseph ladish
New User
Joined: 28 Mar 2006 Posts: 3
|
|
|
|
u have another option like
use iebedit proc with edit in sysin
e.g
//step1 iebedit
//sysut1 dd dsn=(ur pds member that contain the ur old jcl)
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include,stepname=(list the step which u want to execute)
*/
i hope this is the write way to do ur problem,this will work,bcoz i used this one.
any question plz ask this mail id
<<<Mail-ID removed>> READ Forum RULES. |
|
Back to top |
|
|
|