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

Same step names at two places in a single job card


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

New User


Joined: 06 Sep 2005
Posts: 28
Location: Minneapolis US

PostPosted: Thu Oct 20, 2005 12:44 am
Reply with quote

Can I have same step names at two places in a single job card...

My requirement is like to put:


//JSTEP01 EXEC PGM=PGMXYZ,COND=(0,LT)
and
//JSTEP01 EXEC PROCXYZ

in a single job card... Please assist....
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Oct 20, 2005 12:56 am
Reply with quote

Yes. Because the NAME field is optional, it doesn't matter. However, be aware of the issues should you decide to do this:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B660/16.1.2?SHELF=&DT=20050713232151&CASE=

Couldn't you have easily tested this?
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Oct 20, 2005 2:19 pm
Reply with quote

I'm in accord with Mr Kevin: you can but is not a great idea.
Usually is recommended the use a unique stepname for different reasons:
... the link from Mr Kevin
+) schedulers or other product: not all the schedulers allow twice stepname because some kind of test in pre-submit phase are done and an error may occur.

I hope in this suggest.
Back to top
View user's profile Send private message
paulstephen

New User


Joined: 20 Oct 2005
Posts: 20
Location: Chennai

PostPosted: Thu Oct 20, 2005 4:16 pm
Reply with quote

U can use the same step name more than once under the same job card.
The only problem u would face is, when u require a restart
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 JCL sort card - get first day and las... JCL & VSAM 9
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 Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
Search our Forums:

Back to Top