Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Edit Mode z/OS TSO/E User's Guide SA32-0971-00 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You can enter subcommands to edit data sets when you are in edit mode. You can edit data sets that have line numbers by referring to the number of the line that you want to edit. This is called line-number editing. You can also edit data by referring to specific items of text within the lines. This is called context editing. A data set having no line numbers can be edited only by context. Context editing is performed by using subcommands that refer to the current line value or a character combination, such as with the FIND or CHANGE subcommands. There is a pointer within the system that points to a line within the data set. Normally, this pointer points to the last line that you referred to. You can use subcommands to change the pointer so that it points to any line of data that you choose. You can then refer to the line that it points to by specifying an asterisk (*) instead of a line number. Table 1 shows where the pointer points at completion of each subcommand. Note: A current-line pointer value of zero refers to the position
before the first record, if the data set does not contain a record
zero.
When you edit data sets with line numbers, the line number field is not involved in any modifications made to the record except during renumbering. Also, the only editing operations that is performed across record boundaries is the CHANGE and FIND subcommands, when the TEXT and NONUM operands have been specified for the EDIT command. In CHANGE and FIND, an editing operation is performed across only one record boundary at a time.
|
Copyright IBM Corporation 1990, 2014
|