Language Environment run-time considerations

When starting OMPROUTE from a started or cataloged procedure, it is usually recommended that OMPROUTE be started directly from the SEZALOAD data set using PGM=OMPROUTE. However, there is a situation where it might be desirable to start OMPROUTE using BPXBATCH.

When OMPROUTE is started using PGM=OMPROUTE, the STDENV DD card, if used, is passed directly to the OMPROUTE program. The Language Environment® does not get access to the STDENV environment variables. As a result, any Language Environment run-time options set in the STDENV DD data set using the _CEE_RUNOPTS= environment variable are ignored. In this case, Language Environment run-time options must be passed on the PARM= parameter and the options must be specified before any OMPROUTE options. However, the PARM= statement allows a maximum of 100 characters. If the wanted Language Environment run-time options plus OMPROUTE parameters exceeds 100 characters, consideration should be given to using BPXBATCH to start OMPROUTE. When PGM=BPXBATCH is used, the Language Environment environment variable _CEE_RUNOPTS can be included on the STDENV DD card to specify run-time options in excess of 100 characters long.