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

Restart Logic without using the RESTART in Job Card


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

New User


Joined: 17 Jul 2006
Posts: 2

PostPosted: Sat Sep 16, 2006 10:52 am
Reply with quote

What are the ways in which we can implement restart logic in JCL without using the RESTART in Job Card ? Can we implement restart logic through COBOL program, how do we do that ?
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Sat Sep 16, 2006 11:27 pm
Reply with quote

Quote:
What are the ways in which we can implement restart logic in JCL without using the RESTART in Job Card ?

Is that an Interview Question ? icon_confused.gif
Well, You can code COND Parameter to bypass the steps you dont want to run, before the steps to be restarted. But why to reinvent the wheel.
Quote:
Can we implement restart logic through COBOL program, how do we do that ?

Yes, if you meant submitting the new job from a COBOL Program. For this SEARCH the forum.
Back to top
View user's profile Send private message
shankarravi1984
Warnings : 1

New User


Joined: 15 Sep 2006
Posts: 9
Location: pune

PostPosted: Sun Sep 17, 2006 8:36 pm
Reply with quote

hi this is ravi,
restart can be used in the job statement or in the jobstep,if the abend occurs after compilig the program it automatically restarts the job step or job as you mentioned the restart statement in the jcl.
r=restart
nrc=restart with no check points
nr= no automatic restart
check point-it stores the last succesfully executed step in the job,whose return code is "00"

Code:
//ravi1 job auy,notify=pnew669
//s1 exec pgm=ravi1,rd=r
//dd1 dd dsn=ravi.ps,disp=shr
//sysin dd *
//
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 JCL sort card - get first day and las... JCL & VSAM 9
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Need suggestion on a sort card DFSORT/ICETOOL 10
No new posts Want to mask Middle 8 Digits of Debit... COBOL Programming 3
Search our Forums:

Back to Top