Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Extended AIF instruction HLASM Language Reference SC26-4940-06 |
|
The extended AIF instruction combines several successive AIF statements
into one statement.
>>-+-----------------+--AIF-------------------------------------> '-sequence_symbol-' .-,-----------------------------------. V | >----(logical_expression)sequence_symbol-+---------------------><
The extended AIF instruction is exactly equivalent to n successive AIF statements. The branch is taken to the first sequence symbol (scanning left to right) whose corresponding logical expression is true. If none of the logical expressions is true, no branch is taken. Example:
This statement looks for the occurrence of a $, #, @, =, (, +, and -, in that order; and causes control to branch to .DOLR, .POUND, .AT, .EQUAL, .LEFTPAR, .PLUS, and .MINUS, if the string being examined contains any of these characters at the position designated by &C. |
Copyright IBM Corporation 1990, 2014
|