Previous Topic: OPS/REXX Host Environments in the )PROC Section of an SCR RuleNext Topic: Debug an SCR Rule


AOF Variables Available in an SCR Rule

You can use all AOF variable types in SCR rules, as described in the chapter “AOF Rule Tools.” You can use the following unique AOF event variables in the )PROC section of a SCR rule, and you can manually interrogate the corresponding OPSLOG display field as an aid in debugging or implementing rule logic.

SCR.ASID

The ASID of the address space that caused this screen event taken from either the address space of the issuer of an EPI command or, in all other cases, from the CA OPS/MVS main address space

Data Type: 2-byte binary (unprintable), read-only

Sample Value: '003E'X

Notes:

OPSLOG Browse Column: ASID

SCR.JOBNAME

The job name of the address space that caused the current screen event. This name can be one of the following:

Data Type: Character, read-only

Sample Value: OPSMAIN

OPSLOG Browse Column: JOBNAME

SCR.TERMNAME

The name of the virtual terminal associated with this screen event; taken from the DEFINE command used to define the terminal to EPI

Data Type: Character, read-only

Sample Value: IMSTERM

Note: The SCR.TERMNAME variable determines which screen rules execute for the current screen event.

OPSLOG Browse Column: TERMNAME

SCR.TEXT

A description of the screen event.

Possible Values:

Data Type: Character, read-only

Sample Value: SCRUPDATE 3 2 READY

Note: The first word of the SCR.TEXT variable always matches the value of the SCR.TYPE variable.

OPSLOG Browse Column: Text is always displayed.

SCR.TYPE

A description of the screen event.

Possible Values:

Data Type: Character, read-only

Sample Value: SCRUPDATE

Note: The value of SCR.TYPE always matches the first word of the SCR.TEXT variable.

OPSLOG Browse Column: MSGID

SCR.USER

An 8-byte variable providing communication between rules that execute for the same screen event. The variable can contain any installation data that these rules need, and it can store a character string displayable through OPSLOG Browse.

Data Type: User-defined, read/write

Notes:

OPSLOG Browse Column: USER