By building a RUNSYSIN member using system symbols, you can create a generic RUNSYSIN member that can be deployed throughout your enterprise.
You can identify the symbols that are defined to your system from the response to the following system command:
D SYMBOLS
To enable the substitution of symbols, include the following statement in RUNSYSIN:
SUBS=YES
Example: RUNSYSIN with System Symbols
The following sample code shows RUNSYSIN statements using the &SYSNAME and &SYSCLONE system symbols:
SUBS=YES -* Required to invoke system symbols PGM=NM001 ERROR=U0001 PPREF='PRI=NETM&SYSNAME' -* if &SYSNAME = "ABCD", PRI=NETMABCD PPREF='NMDID=&SYSCLONE.NW' PPREF='INIT=NMINIT' PPREF='READY=NMREADY' PPREF='SSID=NMSS' PPREF='DSNQLCL=NETW.NM.NETM&SYSNAME' PPREF='DSNQLNV=NETW.NM.VSAM.NETM&SYSNAME'
Note: A symbol in the middle of the name must be defined with two periods (..), for example:
DD=VFS,DISP=SHR,DSN=NETW.NM.NETM&SYSNAME..VFS
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|