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
 
Use of RESTART in presence of COND?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sanjay_mf

New User


Joined: 30 May 2008
Posts: 10
Location: Bangalore

PostPosted: Fri Jun 27, 2008 9:41 am    Post subject: Use of RESTART in presence of COND?
Reply with quote

I have to restart a job from the 3rd step. The 3rd step uses a COND parameter which says it will execute based on the results of the 2nd step. Can I use the RESTART parameter in this case, like RESTART=step3, knowing that the execution of the 3rd step depends on the result of the 2nd step?
Back to top
View user's profile Send private message

Help-Me-Out

New User


Joined: 09 Dec 2006
Posts: 56
Location: Pune

PostPosted: Fri Jun 27, 2008 9:57 am    Post subject: Reply to: Use of RESTART in presence of COND?
Reply with quote

yes, if it is failed in step 3. icon_lol.gif
Back to top
View user's profile Send private message
mohitsaini
Warnings : 1

New User


Joined: 15 May 2006
Posts: 92

PostPosted: Fri Jun 27, 2008 10:32 am    Post subject:
Reply with quote

Step 3 will execute.
Back to top
View user's profile Send private message
sanjay_mf

New User


Joined: 30 May 2008
Posts: 10
Location: Bangalore

PostPosted: Fri Jun 27, 2008 10:40 am    Post subject: Reply to: Use of RESTART in presence of COND?
Reply with quote

Does it mean that, in this particular scenario, the COND parameter(of step3) wont come into effect at all?
Back to top
View user's profile Send private message
Help-Me-Out

New User


Joined: 09 Dec 2006
Posts: 56
Location: Pune

PostPosted: Fri Jun 27, 2008 10:48 am    Post subject: Re: Reply to: Use of RESTART in presence of COND?
Reply with quote

sanjay_mf wrote:
Does it mean that, in this particular scenario, the COND parameter(of step3) wont come into effect at all?


Ofcourse it will consider the condition. It will execute only if previous step is successful or according to your condition code check.

You can restart the step any time (provided failed in that step).

Hope this helps!! icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 27, 2008 11:24 am    Post subject:
Reply with quote

Hello,

Quote:
Does it mean that, in this particular scenario, the COND parameter(of step3) wont come into effect at all?

Yes, there is no condition code to test so it will not come into affect. Step3 will execute.
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 how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
No new posts COND parameter vs IF THEN ELSE Alks JCL & VSAM 11 Fri Jun 17, 2016 5:28 pm
No new posts Include Cond issue vickey_dw DFSORT/ICETOOL 6 Tue Mar 29, 2016 8:51 pm
No new posts How to detect the Job COND used tdfs JCL & VSAM 28 Tue Feb 09, 2016 8:34 pm

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