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 Logic without using the RESTART in Job Card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Restart Logic without using the RESTART in Job Card
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: 1452
Location: Chicago, IL

PostPosted: Sat Sep 16, 2006 11:27 pm    Post subject: Re: Restart Logic
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    Post subject: Re: Restart Logic without using the RESTART in Job Card
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    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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Need help in building a logic Benchwarmer All Other Mainframe Topics 4 Wed Feb 22, 2017 2:49 am
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm


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