Download Print this page

HP 3000 Manual page 186

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

Advertisement

Related Commands
Insert
("I") Subcommand
"Istring" will insert a character or string. You position the cursor beneath the position where you wish the
insertion to begin. You type an "I" immediately followed by the "string" to be inserted.
Replace
("R") Subcommand
"Rstring" will replace the characters in the line marked "R" by your new "string". Again, you position the
cursor beneath the first character you wish to replace before typing "Rstring".
Delete
("D") Subcommand
To delete a character or string of characters, type "D" beneath the first character to be deleted. A range of
"D"'s will remove the string between the first and last "D". If there is more than one "D" used in modifying
a single line, all characters between the leftmost and rightmost "D" will be deleted.
You can use "I" (insert) and "R" (replace) with a "D" or range of "D"'s. If only one "D" is used, followed by an
"I" or "R", the second "D" is inferred to be the last character before the "I" or "R". If more than one "D" is
used, the characters between the first and last will be deleted, and the second subcommand will be
executed as usual at the character marked by the "I" or "R".
Undesignated Subcommand
When you use the MODIFY command, the line designated appears on the screen. If you do not indicate
the subcommand you are using (D, I, or R), whatever is typed beneath the line to be modified will replace
the character or characters directly above unless blanks alone are typed. In other words, R(eplace) is the
default subcommand.
Leaving MODIFY
If you specify a range of lines to be modified and wish to leave the mode before going through the full
range, type double slash (//) at the beginning of the next line. When you are modifying a single line, press
the carriage return at the beginning of a new line after the source line appears on the screen in the form
desired.
Control Y
If you do not wish to make the modifications you originally thought were necessary, type <Control Y>
before you press the carriage return at the start of a new line. (Pressing the carriage return at the start of
a new line means leaving modification mode for this line and permanently storing the newly modified line.)
RISE will respond with the message "Restore Record", and the changes will not be made.
The UNDELete command does not work with deletions made in the the MODIFY mode.
*
Execution mode:
*
Record pointer:
Examples
The following are legal abbreviations which may be used with the MODIFY command and its parameters:
M */LAST^^ Modify lines from the current position of the record pointer to the last line and display the
corresponding RPG Record Specification form.
M LAST
Modify the last line of the file.
M ^^
Modify line at the current position of the record pointer and display the corresponding RPG
Record Specification form.
2- 188
Line.
At last line modified.

Advertisement

loading