Previous Topic: Record That OPSYSPLX ReturnsNext Topic: Records that OPSYSSYM Returns


OPSYSSYM Function

The OPSYSSYM function can be used in any AOF rules or OPS/REXX programs environment to return information about the z/OS system symbols. The System symbols are defined in the appropriate IEASYMxx member of the Logical Parmlib Concatenation.

This function has the following format:

var = OPSYSSYM(function[,prefix][,system])
function

Specifies the type of function you want the OPSYSYSM function to perform. The function argument must be specified.

Currently, the only valid function codes for OPSYSSYM are:

I

Returns one or more matching system symbol names and values in the external data queue.

R

Returns the value of the specified system symbol as the value of the function. If the symbol does not exist, an empty string is returned. No changes are made to the external data queue.

prefix

(Optional) Specifies one to ten characters that are compared against the defined system symbols. For the function ‘I’, the prefix matches and returns any defined system symbol up to the length of the prefix. If the prefix argument is omitted, then all of the system symbols are returned. For the function ‘R’ only a symbol that matches the prefix exactly is returned as the value of the function.

Note: If you omit the & character as the first character, it is automatically inserted.

system

(Optional) Provides CA OPS/MVS with the capability to execute the OPSYSSYM function on external systems that have been defined to the MSF. The MSF establishes VTAM or CCI sessions between copies of CA OPS/MVS, permitting any copy to issue a command on any other copy and to receive its response.

You can specify any of these values:

Examples: OPSYSSYM Function

Reviewing the following examples gives you a better understanding of the OPSYSSYM function: