User Tools

Site Tools


ibm:vm370-lib:cmshelp:deleteup.helpedt

DELETEUP

CMS EDIT Subcommands

deleteup.helpedt.txt
DELETEUP                                                    CMS EDIT subcommand

Use the DELETEUP subcommand to delete one or more lines from a file, beginning
with the current line.  Deletion proceeds from the current line toward the
start of the file.  The line immediately before the last line deleted becomes
the new current line.  The format of the DELETEUP subcommand is:
+----------+------------------------------------------------------------------+
| DELETEUP | [1|n|*]                                                          |
+----------+------------------------------------------------------------------+
where:

n        indicates the number of lines to be deleted, starting at the current
         line.  If an asterisk (*) is entered, the remainder of the file is
         deleted.  If n is omitted, only one line is deleted.


Responses:

None.  If you delete the last line in the file, or if you issue the DELETEUP
subcommand when the current line pointer is already at the start of the file,
the editor displays the message:
   TOF:

Display Mode Considerations

If you delete a record when using a display terminal in display mode, the
editor rewrites the output display area with the records below the current line
pointer unchanged.  The record at the current line pointer and the remaining
records on the screen move down by one, and a new record (if one exists) moves
into the top of the output display area.
ibm/vm370-lib/cmshelp/deleteup.helpedt.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator