by Akatsukami » Fri Jul 19, 2013 9:10 pm
Krishna kumar B wrote:Hi ,
sample Jcl (so-called; this isn't very close)
JOB msgclass=A ............................
.
.
.
PROC1 EXEC PROC1
PROC2 EXEC PROC2
procs
PROC1 PROC
..
STEP010 EXEC XXXX
XXXXXXXXX
STEP020 EXEC VSAMINIT, DSN= ABCD.EDF.GDE,DISP=SHR
****************
PROC2 PROC
..
STEP005 EXEC XXXX
XXXXXXXXX
STEP020 EXEC VSAMINIT, DSN= EDF.GDE.FGHR,DISP=SHR
I want to restart the job fromSTEP20 of PROC2
i gave Restart Card in the Job( RESTART=VSAMINIT.STEP20) it executed from PROC1 rather than PROC2.
kindly help.
In addition to NicC's and Mr. Sample's warnings about nesting procedures, if you actually want to restart the job from STEP20 of PROC2, you should code
on the job card; note that you want to use
stepnames, not
procnames (having the two be the same is confusing). You will benefit from (re-)reading about
the RESTART parameter of the JOB card.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day