IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Restart after a null statement in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kiranps

New User


Joined: 03 Nov 2005
Posts: 6

PostPosted: Mon Nov 14, 2005 10:01 am
Reply with quote

Hi,

I have a scenario like this...

STEP1 exec pgm=pgm1
.......
STEP2 exec pgm=pgm2
.......
//
STEP3 exec pgm=pgm3
........

Now if for some reason i want to restart the job from STEP3, is it possible? My concern is about the null statement coded after STEP2.


Thanks & Regards,
Kiran P S
Back to top
View user's profile Send private message
sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Mon Nov 14, 2005 12:49 pm
Reply with quote

Hi Kiran,

You can't execute the statemets after null statement.

Thanks,
Sridevi
Back to top
View user's profile Send private message
kiranps

New User


Joined: 03 Nov 2005
Posts: 6

PostPosted: Mon Nov 14, 2005 2:22 pm
Reply with quote

I am aware of the fact that the null indicator // is the end of a job. But my question was pertaining to restart of STEP3. Do you mean to say that in case of restarting from STEP3 also, the job won't execute STEP3?

Help is greatly appreciated... icon_smile.gif
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Nov 14, 2005 4:39 pm
Reply with quote

kiranps,

Why cant try this running a sample job yourself.

In this case if u restart from step3, even coded a null statement before, job will get abended JCL Error... with restart step not found.

Regards,

Priyesh.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Nov 16, 2005 11:54 pm
Reply with quote

Any data after the // is flushed, i.e. goes into the bit bucket, so it is never considered part of the job.

If you resubmitted your job (as suggested) you will be informed that the step (step3) does not exist or cannot be found or some such.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
Search our Forums:

Back to Top