z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Creating a null command

z/OS DFSMSdss Storage Administration
SC23-6868-01

If THEN or ELSE is not followed by a continuation character or by a command on the same line, the result is a null command. A semicolon after the THEN or ELSE keyword also results in a null command. A null command specifies that no action is taken if the IF clause is satisfied (a null THEN command) or if the IF clause is not satisfied (a null ELSE command).

To specify a null THEN command, specify:
IF ... THEN              or          IF ... THEN;
       ELSE ...                             ELSE ...
To specify a null ELSE command, specify:
IF ... THEN ...          or          IF ... THEN ...
       ELSE                                 ELSE;

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014