MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

One question about JCLLIB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Tue Jan 11, 2005 9:33 pm    Post subject: One question about JCLLIB Reply with quote

In order to migrate JCLs to other system withoud changing each JCL, we consider using symbols in JCL. All the symbols are coded in a PDS member, then include the member in the JCL.

But we have code a JCLLIB in the JCL to identify the PDS.
Then if migrate the JCLs to ohter system, the JCLLIB have to be modified in each JCL to fit for the different system.

Is there any way to make the JCL executale in any system without changing each JCL (only modify some symbols in one or several members)?

Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jan 12, 2005 6:10 am    Post subject: Reply with quote

videlord,

If your shop has fileaid , you can change the JCLLIB name to name on the other system. check this link for an example

http://www.mvsforums.com/helpboards/viewtopic.php?t=1038&highlight=repl

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Wed Jan 12, 2005 6:18 am    Post subject: Reply with quote

Easiest way is to get your sysprog to define a system variable eg

SYSDEF
SYSNAME(SYSA)

The variable can be set according to system requirements.

then in the jcl you can code

dsname=sys.&sysname.jcl
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group