Safeguard Management Programming Manual (G06.29+, H06.08+, J06.03+)
Common Definitions
Safeguard Management Programming Manual—422086-028
6-8
SAFECOM WHERE GROUP selection options
02 ZTKNCODE type ZSPI-TYP-TOKENCODE
02 ZINDEX type ZSPI-TYP-INT
02 ZFUTURE1 type ZSPI-TYP-INT
02 ZFUTURE2 type ZSPI-TYP-INT
02 ZFUTURE3 type ZSPI-TYP-INT
02 ZFUTURE4 type ZSPI-TYP-INT
02 ZFUTURE5 type ZSPI-TYP-INT
end.
ZSPI-TKN-SEL-OPERAND
is an optional token used with ZSPI-TKN-SEL-EXPRESSION and ZSPI-TKN-SEL-
CONSTANT to specify a selection expression. ZSPI-TKN-SEL-OPERAND defines
an operand to be used in the expression.
ZVALUE-TYPE
contains the value ZSPI-VAL-SEL-CONTENTS.
ZTKNCODE
contains the token code of the operand: ZSFG-TKN-GROUPID, ZSFG-TKN-
PRIMARY-GROUPID, or ZSFG-TKN-SEL-CONSTANT.
ZINDEX
contains an index (as defined for SSGET) into the array of tokens identified by
ZTKNCODE. ZINDEX is meaningful only when ZTKNCODE contains ZSFG-
TKN-SEL-CONSTANT. In this instance, ZINDEX represents the relative
location of the constant in the constant array. The constant array is defined
using ZSPI-TKN-SEL-CONSTANT tokens, as follows.
If ZTKNCODE contains ZSFG-TKN-GROUPID or ZSFG-TKN-PRIMARY-
GROUPID, this index not meaningful and should be set to 1.
ZFUTURE1
ZFUTURE2
ZFUTURE3
ZFUTURE4
ZFUTURE5
are reserved for future use.
If ZTKNCODE contains ZSPI-TKN-SEL-CONSTANT, that constant must be defined
using the ZSPI-TKN-SEL-CONSTANT token. ZSPI-TKN-SEL-CONSTANT has the
following format:
ZSPI-TKN-SEL-CONSTANT token-type ZSPI-TYP-BYTESTRING
For comparisons with the GROUPID or PRIMARY-GROUPID operands, the ZSPI-
TKN-SEL-CONSTANT token always contains a group number. The token value
consists of six bytes: