z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The IF-THEN-ELSE sequence

z/OS TSO/E CLISTs
SA32-0978-00

The IF-THEN-ELSE sequence tests a condition or set of conditions, then determines the logical path of execution (action) based on the results of the test.

The condition must be either a comparative expression or a variable containing a comparative expression. You may code multiple conditions, in which case the comparative expressions , variables or both must be joined by logical operators.

The action can be one or more instructions. If the condition or set of conditions is true, the CLIST executes the instructions in the THEN action. If the condition or set of conditions is false, the CLIST executes the instructions in the ELSE action.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014