Comparison operands and lists

Some selection criteria keywords allow the specification of a list of items and a comparison operand. The following topics describe the comparison operand logic when specified with a list, such as a list of volumes.

EQ

For the EQ comparison operand, the selection criteria is met if any of the operands in the list are equal (OR logic). This does not apply to user-defined variables. See Comparison operands and user-defined variables for information about user-defined variables and comparison operators.

Consider the following example:

USERID=(TSJRH,PDSMITH,PDJONES,EQ)

In the example, if a user ID matches any of the three specified user IDs in the list, then the result is true.

GE, LE, GT, NE, and LT

For all comparison operands other than EQ, the selection criteria is met only if all of the operands in the list satisfy the comparison operand (AND logic). For example, in the following specification the result is true only if the volsers are greater than all three volumes that are specified in the list:

VOLSER_FIRST=(NS1600,NS1700,NS1800,GT)