Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Distinguishing WHEN clauses from WHEN commands z/OS TSO/E CLISTs SA32-0978-00 |
|
The WHEN clause in a SELECT statement is syntactically distinct
from the WHEN SYSRC TSO/E command. In a SELECT statement, a left
parenthesis must follow a WHEN clause. If you want to use the WHEN
command as part of an action in a SELECT statement, enclose the WHEN
command in a DO-END sequence to prevent the SELECT statement from
interpreting the command as a not valid WHEN clause. For example,
the following syntax is acceptable:
For
more information about using the WHEN SYSRC TSO/E command, see z/OS TSO/E Command Reference. |
Copyright IBM Corporation 1990, 2014
|