HP RPG/iX Utilities Reference Manual (30318-90006)
2- 160
Error 62: The TO line cannot be less than the FROM line number.
(3) >COPY ALL
Error 149: TO location missing.
(4) >COPY 1/5 TO LAST BY 1
39 00011H
SIMCAL
40 00012FINPUT IP F 72 DISK
41 00013FOUTPUT O F 72 DISK
42 00014IINPUT AA 01 1 CA
43 00015I OR 02 1 CS
Copy completed.
>
DELETE
DELETE enables you to delete lines from a work file.
Form
D[ELETE] lb[/le]
Parameter Explanation
lb The first or only line number where you wish to start your deletion.
le The last line you are deleting.
Purpose
The DELETE command is used to delete a line or range of lines from a work file. Note: when in Block
Mode, you should have the sequence numbers on the screen so that you can see the sequence numbers of
the lines you are deleting. Use special function key F-3 to display the numbers. Do not use the RPG line
numbers to establish a line range for deletions.
Related Commands
The UNDEL command restores lines that were mistakenly deleted. Under MODIFY, the Delete
subcommand interactively deletes characters within a line.
Execution mode: Line or Block.
Record pointer: At the line following the last deleted line.
Control Y: Stops the listing of deleted lines. Does not stop the deletion.
Examples
The following are legal abbreviations which may be used with the DELETE command and its parameters:
D10/50 Delete lines 10 through 50.
D10 Delete line 10.