Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Same step names at two places in a single job card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Same step names at two places in a single job card
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    Post subject: Re: Same step names in a job
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:

http://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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 4 Mon Mar 27, 2017 3:59 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us