Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Restart after a null statement in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Restart after a null statement in JCL
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    Post subject: Re: Restart after a null statement in JCL
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    Post subject: Re: Restart after a null statement in JCL
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: 1452
Location: Chicago, IL

PostPosted: Mon Nov 14, 2005 4:39 pm    Post subject: Re: Restart after a null statement in JCL
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us