Copy the sample OMPROUTE procedure from the hlq.SEZAINST(OMPROUTE) to your system or recognized PROCLIB, such as SYS1.PROCLIB, and modify it to suit your local configuration.
For example, set the ENVAR("_CCE_ENVFILE=DD:xxxx") parameter on the OMPROUTE EXEC statement to point to the DD statement which specifies the location of your omproute environment file:
//OMPROUTE EXEC PGM=OMPROUTE,REGION=4096K,TIME=NOLIMIT, PARM=('POSIX(ON)',
'ENVAR("_CCE_ENVFILE=DD:STDENV")/')
.
.
.
//STDENV DD PATH='/u/usernnn/envcs2'
Then, in your omproute environment file, set the OMPROUTE_FILE environment variable to point to your MVS data set or HFS file containing the configuration data, and set the RESOLVER_CONFIG environment variable to TCPIP.MSYS(TCPDATA). For example,
RESOLVER_CONFIG = //'TCPIP.MSYS(TCPDATA)'
OMPROUTE_FILE = //'TCPIP.MSYS(OMPROUTE)'
For more information, please see section 'Configuring OMPROUTE' in the IP Configuration Guide.