Previous Topic: OPSJESX Function

Next Topic: Output Variables

Keywords for OPSJESX

You can use any combination of keywords. The two basic groups of keywords are:

Some filters allow the following standard wildcards:

Filter Keywords

The filter keywords provide filtering for JES2 and JES3 jobs. The output variables will contain information for only those jobs matching the input filter criteria. The values of some of the filters are case sensitive.

Processing Keywords

This section provides the processing keywords.

STEM(varStem)

Creates an output variable with the specified name. If omitted, the default name OPSJESX will be used.

varStem.0

Indicates the number of returned jobs.

Length: 50

Example:

STEM(MYOUT)

Note: The output variable is used as a stem for the number of jobs returned and for each output section returned. See the Output Variables section for further details.

JESSUBSYS(name)

Defines the name of the JES subsystem. If omitted, the JES subsystem provided by the system is used.

Length: 4

Example:

JESSUBSYS(JES3)
MAX(n)

Limits the number of output variables.

Length: 10

Example:

MAX(2000)
SECTIONS(keycodes)

Specifies which sections to return in the output.

Valid parameter values are:

AFFS

Indicates the Member Affinity section

ALL

Indicates all sections

J2TR

Indicates the JES2 terse section

J3TR

Indicates the JES3 terse section

SCHD

Indicates the Execution Scheduling section

SCHS

Indicates the Schedulable Systems section

SCLF

Indicates the SECLABEL Availability section

You can use any combination of keycodes. However, the ALL keycode cannot be combined with other keycodes. Use the ALL keycode if you want all sections returned.

The JQTR section is always returned. Therefore, JQTR is not included as a keycode.

If SECTION is omitted, only the JQTR is returned.

The job information returned for each section is provided in Section Variable Output Mappings. Refer to the mapping section for details on what job information is returned for each section.

Note: The sections above correspond to the Job Information Elements for the Extended Status Function Call (SSI 80) as described in the IBM guide z/OS MVS Using the Subsystem Interface. To determine the name of the Job Information Element that corresponds to a keycode, add the prefix STAT to the keycode. For example, STATAFFS is the name of the Job Information Element that corresponds with keycode AFFS.

Example:

SECTIONS(AFFS, J3TR)