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
 
restarting a step which has condition parameter coded..

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Mon Sep 06, 2010 3:42 pm    Post subject: restarting a step which has condition parameter coded..
Reply with quote

I have steps 1-5 in my job. For step 2, the cond=(0,LE). What will happen if I give restart=step2 in my job card?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Sep 06, 2010 4:03 pm    Post subject:
Reply with quote

Why not try it out and let us know the result.
Back to top
View user's profile Send private message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Mon Sep 06, 2010 4:11 pm    Post subject: Reply to: restarting a step which has condition parameter co
Reply with quote

I quit my job and no access to mainframe. This was asked in an interview.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Sep 06, 2010 4:19 pm    Post subject:
Reply with quote

OK, what do you think will happen. and why do you think that.
Back to top
View user's profile Send private message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Mon Sep 06, 2010 5:49 pm    Post subject: Reply to: restarting a step which has condition parameter co
Reply with quote

I think step 2 will be bypassed because the condition will be always true.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Sep 06, 2010 6:15 pm    Post subject:
Reply with quote

What will the condition coded for STEP2 be checked against if there is no prior step.
Back to top
View user's profile Send private message
anjoos20

New User


Joined: 09 Apr 2008
Posts: 14

PostPosted: Mon Sep 06, 2010 6:40 pm    Post subject: Reply to: restarting a step which has condition parameter co
Reply with quote

ok.. so the condition will be ignored and steps from 2-5 will be executed.Thanks expat icon_smile.gif
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Sep 07, 2010 5:10 am    Post subject:
Reply with quote

Hi,

STEP2 will run.


Gerry
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am

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