Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us