HP RPG/iX Utilities Reference Manual (30318-90006)
2- 190
(6) 2 00012FINFILES IP F 80 DISK
: TAPE
In the next example, the delete (D) subcommand is used in conjunction with the insert (1) subcommand
with the result that "MAGTAPE" replaces "TAPE" in the line (1). The next example demonstrates how all
characters between the two outside D's used in the delete subcommand are removed upon execution of the
subcommand (2). Again a <Control Y> is used to restore the characters erroneously deleted (3). Finally,
the delete and insert subcommands are again used together, and the results are shown (4).
(1) 2 00012FINFILES IP F 80 TAPE
: D DIMAGTAPE
(2) 2 00012FINFILES IP F 80 MAGTAPE
:D DDD D
(3) 2 80 MAGTAPE
:<Control Y> Restore Record.
(4) 2 00012FINPUT IP F 72 DISK
:DDDDDI12345
2 12345FINPUT IP F 72 DISK
:
>
In the final example of the MODIFY command, MODIFY ALL is entered with the additional parameter
calling for the record specification form corresponding to the line being modified (1). The first line, then, is
shown beneath the Header Specification form (2). It is modified by spacing over and typing a "B" as shown
under the form (2). After typing the "B", the user hits the carriage return, and RISE re-displays the
modified line (3). Lines 2 and 3 are then displayed under the RPG Specification form (4) (5). A double
slash (//) entered at the beginning of line 3 ends the modification mode (6).
(1) >MODIFY ALL ^^