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

order of execution of steps in jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ambili S

Active User


Joined: 06 Sep 2007
Posts: 112
Location: India

PostPosted: Wed Jun 23, 2010 1:54 pm
Reply with quote

In a Job , there are 3 steps in order . They are STEP1 , STEP2 and STEP3 .
Is it possible to execute STEP2 , STEP1 , STEP3 without changing the order of steps in the JCL ? i.e. firstly step2 should run , then step1 and step3 should run.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 23, 2010 2:08 pm
Reply with quote

What do you think
In fact, what have you tried and what was the result.
Back to top
View user's profile Send private message
Ambili S

Active User


Joined: 06 Sep 2007
Posts: 112
Location: India

PostPosted: Wed Jun 23, 2010 2:32 pm
Reply with quote

I am not sure how to do it , if anybody can help me out it would be great. I cam e across this question in some forum.
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Wed Jun 23, 2010 2:45 pm
Reply with quote

Please post this in interview question section,
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jun 23, 2010 2:57 pm
Reply with quote

This question has been discussed in this very forum also, if you search the Forum, specially the JCL prart of the Forum - you should be able to get some links, like these:

www.ibmmainframes.com/viewtopic.php?t=4038&highlight=order+step
www.ibmmainframes.com/viewtopic.php?t=20048&highlight=order+step
Back to top
View user's profile Send private message
Ambili S

Active User


Joined: 06 Sep 2007
Posts: 112
Location: India

PostPosted: Wed Jun 23, 2010 3:28 pm
Reply with quote

Thanks Anuj.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jun 23, 2010 3:33 pm
Reply with quote

You're welcome.

Keep in mind, JCL, when started was developed with the very feel of executing "daily routine tasks" which can run without or very minimal human intervention. They were the taks, which should be performed in some order, one after other - so asking if we can run the steps in different manner than they are coded, actually does not make much sense with the very idea of JCL evolution.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Rotate partition-logical & physic... DB2 0
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts DB2 Load - Sort Or order BY DB2 1
No new posts GDG all in sequence order JCL & VSAM 9
Search our Forums:

Back to Top