Previous Topic: Generic Initialization File

Next Topic: Data Set Deployment


Generic RUNSYSIN

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 defined to your system from the response to the following system command:

D SYMBOLS

To tell the NETMASTR program to perform symbol substitution, 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 used in the middle of the name must be defined with two periods (..), for example:

DD=VFS,DISP=SHR,DSN=NETW.NM.NETM&SYSNAME..VFS