Download Print this page

HP 3000 Manual page 209

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

Form
U[NDEL]
Purpose
The UNDELete command restores the lines which were removed by the last DELETE command. It does
not restore characters which were deleted while in the MODIFY mode.
If you DELETE lines, then ADD new ones with the same numbers as those deleted, the deletions will not
be restored by the UNDEL command. It only restores lines when the numbers of the lines to be restored
do not already exist in the work file. For example, if you DELETE lines 1/5, ADD 1/3, then try to recover
with the UNDEL command, RISE will not be able to restore lines 1/3 because the lines exist due to your
new additions. In this case, no lines will be restored unless you move 1/3 to another location, freeing those
locations for full restoration.
Related Commands
In SHOW Mode, changes are not permanent until the ENTER key is depressed, at which time RISE
changes the internal page buffer and updates the work file with it. If, previous to pressing the ENTER key,
you made changes which you wish to cancel, you do not use the UNDEL command. You scroll forward or
backward to a different page, then scroll back to the page on which the undesired changes were made.
RISE will restore that page to its original state from the internal buffer which never changed.
*
Execution mode:
*
Record pointer:
*
Control Y: Stops listing the lines that are being undeleted.
Examples
The following are legal abbreviations which may be used with the UNDELete command:
U
Undelete lines removed by the last delete command.
UND
In the first example, lines 1 through 5 of SIMCAL are listed and then deleted. An execution message
appears at the terminal when the deletion is completed (1). The UNDEL command is then used, and the
lines previously deleted are restored as they were (2). Lines 5 through 10 are next deleted (3).
>L1/5
1
SIMCAL
2
3
4
5
>D1/5
1
SIMCAL
2
3
4
5
(1)
Delete completed.
>
>UNDEL
1
SIMCAL
2
3
Line or Block.
At last line undeleted.
00011H
00012FINPUT
IP
00013FOUTPUT
O
00014IINPUT
AA
00015I
OR
00011H
00012FINPUT
IP
00013FOUTPUT
O
00014IINPUT
AA
00015I
OR
00011H
00012FINPUT
IP
00013FOUTPUT
0
F
72
F
72
01
1
CA
02
1
CS
F
72
F
72
01
1
CA
02
1
CS
F
72
F
72
DISK
DISK
DISK
DISK
DISK
DISK
2- 211

Advertisement

loading