Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 6 Fri Sep 22, 2017 7:08 am
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us