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


Changing from One Mode to Another

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

If you specify an existing data set name as an operand for the EDIT command, you begin processing in edit mode. If you specify a new data set name or an old data set with no records as an operand for the EDIT command, you begin processing in input mode.

You change from edit mode to input mode when:
  • You enter the INPUT subcommand.
  • You press the Enter key before typing anything.
  • You enter the INSERT subcommand with no operands.

If this is the first time during your current usage of EDIT that input mode is entered, input begins at the line after the last line of the data set for data sets which are not empty, or at the first line of the data set for empty data sets. If this is not the first time during your current usage of EDIT that input mode is entered, input begins at the point following the data entered when last in input mode.

If you use the INPUT subcommand without the R operand and the line is null (that is, it contains no data), input begins at the specified line. If the specified line contains data, input begins at the first increment past that line. If you use the INPUT subcommand with the R operand, input begins at the specified line, replacing existing data, if any.

You switch from input mode to edit mode when:
  • You press the Enter key before typing anything.
  • You cause an attention interruption.
  • There is no more space for records to be inserted into the data set and re-sequencing is not allowed.
  • An error is discovered by the syntax checker.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014