View previous topic :: View next topic |
Author |
Message |
videlord Beginner
Joined: 09 Dec 2004 Posts: 147 Topics: 19
|
Posted: Tue Jan 11, 2005 9:33 pm Post subject: One question about JCLLIB |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Wed Jan 12, 2005 6:18 am Post subject: |
|
|
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 |
|
|
|
|