Is there a way to have a GENERIC RUNSYSIN member?

Document ID : KB000023800
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Is there a way to have a GENERIC RUNSYSIN member?

 

Answer:

Yes, you can create a Generic Initialization File and RUNSYSIN Member for Multiple Regions. 

It is discussed in the Best Practice Guide.

 

The following is a snippet from the manual.

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 UTIL0028 utility 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:

===================================================================================
*-----------------------------------------------------------------
* UTIL0028 CONTROL INFORMATION
*-----------------------------------------------------------------
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