Previous Topic: OPSWORD Function

Next Topic: Record That OPSYSPLX Returns

OPSYSPLX Function

The OPSYSPLX function returns information about a system in the current sysplex.

When the main address space is active, OPSYSPLX can be used in both AOF rules and OPS/REXX programs.

Note: The OPSYSPLX function can be used in OPS/REXX, AOF rules, TSO/E REXX, or CLIST.

This function has the following format:

systems = OPSYSPLX(function,type,selector)
function

Currently, the only valid function argument is I, for inquiry about information retrieval.

type

Currently, the only valid type argument is S (for system).

selector

Use the optional selector argument as a filter to reduce the amount of information that is being returned. When the type argument is set to S, the selector argument can be used to filter the system values that are returned in the EDQ. The selector value may contain single character wildcards (%), a suffix wildcard (*), or both.

Example: selector arguments

SYSA
SYS*
S%S*

Example: OPSYSPLX

This example returns information about all the systems in the sysplex:

temp = OPSYSPLX("I","S")
do temp
  pull line
  say line
end

The following record was returned in a local sysplex:

XAE1   E1 LOCAL   AEBE70DBFCB89206 20030602 16:51:16 1   5   8500  8800   ACTIVE+SINGLE_SYSTEM

The following two records were returned on a two-sysplex system:

XE13   13 AORPLX01 AEC00ECC0E441A06 20030602 18:00:59 1   5  6000   6500   ACTIVE
XE03   03 AORPLX01 AEC00ECC0E441A06 20030602 18:01:04 2   5  6000   6500   ACTIVE