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


WRITE and WRITENR statements

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

Use the WRITE and WRITENR statements to define text and have it displayed at the terminal. This text can be used for messages, information, or prompting.

Read syntax diagramSkip visual syntax diagram
>>-+--------+--+-WRITE---+--text-------------------------------><
   '-label:-'  '-WRITENR-'         

label
A name the CLIST can reference in a GOTO statement to branch to this WRITE/WRITENR statement.label is one-to-31 alphanumeric characters, beginning with an alphabetic character.
WRITE | WRITENR
WRITE
The cursor moves to a new line after the text is displayed.
WRITENR
The cursor does not move to a new line after the text is displayed.
text
What is displayed at the terminal. You can enter any character string, including symbolic variables. Unless you enclose an arithmetic expression in an &EVAL built-in function, the WRITE/WRITENR statement does not perform evaluation on the expression. The CLIST also displays any comments on the same line as the WRITE/WRITENR statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014