z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The if statement

z/OS UNIX System Services User's Guide
SA23-2279-00

An if statement is an action of the form:
if (expression) statement1 else
statement2
Typically, the expression in the if statement has a true-or-false value. If the value is true, statement1 is performed; otherwise, statement2 is performed. The else statement2 part is optional.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014