Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Logical operators z/OS MVS JCL Reference SA23-1385-00 |
|
Use the & (AND) and | (OR) logical operators in a complex relational-expression to indicate that the Boolean result of two or more relational-expressions is to be evaluated. You must precede and follow the & (AND) and | (OR) operators with at least one blank. The & (AND) operator indicates that all of the specified expressions
must be true. For example, to test that a return code is both greater
than 8 and less than 24 (in the range 9 through 23), code:
The | (OR) operator specifies that only one of the expressions
need be true. For example, to test that a return code is either equal
to 8, equal to 10, or greater than 24, code:
|
Copyright IBM Corporation 1990, 2014
|