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

restarting a step which has condition parameter coded..


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Sep 06, 2010 4:03 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Sep 06, 2010 4:19 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Sep 06, 2010 6:15 pm
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
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: 1702
Location: Australia

PostPosted: Tue Sep 07, 2010 5:10 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top