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

two steps with same name within a proc


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

New User


Joined: 11 Jan 2008
Posts: 10
Location: satyam gateway,hi-tech citi,hyderabad

PostPosted: Thu Jan 24, 2008 2:36 pm
Reply with quote

hi all,

can there be two steps with same name with in a single proc.
if so , how do we override any one of the step?

thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Jan 24, 2008 2:40 pm
Reply with quote

there is no rule about step naming...

but when You try to identify a particular one,
having duplicates will not let You do it
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Jan 24, 2008 3:25 pm
Reply with quote

Why not try it out yourself and let us know the problems you encounter
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jan 26, 2008 8:29 pm
Reply with quote

As I recall, any refs to the stepname is directed to the step that appears 1st.
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Tue Jan 29, 2008 4:30 pm
Reply with quote

there is no rule to put different name for steps in a job.
you can use same name even for all steps but the problem is to find out the failures for the job
Back to top
View user's profile Send private message
guntukus

New User


Joined: 06 Apr 2005
Posts: 2

PostPosted: Tue Jan 29, 2008 5:47 pm
Reply with quote

there is no specific rule to put different name for steps in a job.
But whenever you want to use RESTART or Overriding or referback parameter, then its required to have unique step names.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jan 29, 2008 10:50 pm
Reply with quote

Hello,

Most organizations will not allow a job to be promoted to production with multiple steps of the same name. While the jcl syntax check permits multiples of the same step name, it is a terrible practice.
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 CA7 deleting files in steps after job... CA Products 4
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts trying to set return code in PROC JCL & VSAM 15
No new posts Execute DSNTEP2 in REXX which is call... CLIST & REXX 4
Search our Forums:

Back to Top