Previous Topic: OPSINFO FunctionNext Topic: Types of OPSINFO Functions


Environmental OPSINFO Functions for JES2

Some variations of the OPSINFO function are special JES2 OPSINFO environmental variables. These variables enhance the rule environment by providing information that exists at the time when an event occurs.

Using the JES2 environmental OPSINFO functions requires access to a JES2 offsets table. Module OPJ2DF contains an already-assembled, already-linked default JES2 offsets table with support for the JES2 versions for z/OS 1.8 through z/OS 1.10. At startup, CA OPS/MVS checks to see which JES2 release you have, and then loads and searches the OPJ2DF module. If the OPJ2DF module contains an offset table matching your JES2 release, all CA OPS/MVS components use the default offsets table in OPJ2DF.

Important! Even if your site can use the default offset tables in OPJ2DF, you may need to reassemble and relink the JES2 offsets table that resides in SYS1.OPS.ASM(OPJ2CB). If your system-support personnel perform aggressive maintenance on JES2 and z/OS, we recommend that you reassemble and relink OPJ2CB instead of relying on the OPJ2DF module to support the JES2 environment. You must reassemble and relink OPJ2CB each time someone applies maintenance to or modifies JES2.

The JCL that you need to assemble and link the OPJ2CB module resides in SYS1.OPS.CNTL(JES2ASM).

Note: For more information about installing and starting CA OPS/MVS, see the Installation Guide and the Administration Guide.

When you start the CA OPS/MVS product on a JES2 system and CA OPS/MVS detects that the default (null) OPJ2CB module has been loaded, it issues error message OPS0160. OPS0160 indicates that the JES2-related OPSINFO functions do not work. In addition, any time a rule or OPS/REXX program uses one of these functions, message number OPS4220 is issued.

When Work Load Manager (WLM) controls JES2 initiators, JES-related information is not available at EOS (end of step) and EOJ (end of job). For example, OPSINFO('JOBID') in an EOJ rule would not be available when WLM controls the JES2 initiators.