z/OS TSO/E User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Continuing a Command on Another Line

z/OS TSO/E User's Guide
SA32-0971-00

When you type a command at the READY message or in ISPF/PDF option 6, you can continue to type beyond the end of the line and the command automatically wraps around to the next line.

However, when you type a command in a CLIST that does not fit on one line, use a plus or minus sign (preceded by a space) as the last character of the first line to continue the command onto the next line. A plus sign removes leading spaces from the continuation line. A minus sign keeps leading spaces with the continuation line.

Example
To display a command to the system as a single line without leading spaces, type:
ALLOCATE DATASET(outputds.text) +
             LIKE(old.text)
The system sees:
ALLOCATE DATASET(outputds.text) LIKE(old.text)
To display a command to the system with leading spaces, type:
ALLOCATE DATASET(outputds.text) -
       LIKE(old.test)
The system sees:
ALLOCATE DATASET(outputds.text)       LIKE(old.text)
Note: When TSO/E encounters a plus sign or minus sign at the end of a line with no following line, it positions the cursor on the next available input line and waits for you to add a new line.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014