Features of Block Mode [ HP RPG/XL Utilities-Part 2 RISE ] MPE/iX 5.0 Documentation
HP RPG/XL Utilities-Part 2 RISE
Features of Block Mode
Command Menu
RISE offers you a command menu which lists the most important RISE
commands so that you can select the next command you need. The commands
are grouped by their functions: File Commands, Editing Commands,
General-1 Commands, and General-2 Commands. You move the cursor to the
group using a special function key labeled with the group title. Windows
are provided for the parameters of each command.
The menu relieves you of the need to memorize or look up the commands
since it displays the options for a command. The menu operates only in
Block Mode.
Command Window
Besides the Command Menu, you have another means of entering commands
while in Block Mode. You can use the Command Window which is always
displayed on the terminal when you are in this mode.
The Command Window is useful to those who are familiar with the commands
and have no need to go through the menu but want immediate action. In
such an instance, you enter the command in the window as you would enter
it in Line Mode, using a simple syntax which is described in chapter 2.
A Block Mode enter prompt (ENTER?) appears to the bottom left of the
Command Window. This tells you that RISE is waiting for your next
command. The enter prompt disappears when a command is being executed
and returns upon completion.
Show Mode
The SHOW command will display an RPG Record Specification form at the top
of the screen, followed by a page (10 lines) of RPG source records in
Block Mode. If you have changes you wish to make to the records, move
the cursor to those places where the changes are to be made. Pre-set
tabs allow you to use the Tab key to skip quickly across the source
records to important columns.
When editing, you directly enter your changes on the screen so that what
is visible duplicates exactly what will be stored in the file. When your
editing is finished, you press the ENTER key to send your updated page to
RISE. If, at that time, you want to continue with the next page of the
source file, you push the special function key, F5 (Scroll forward). If
you wanted to go into Line Mode, you would push F7.
The Command Window can be used with displayed pages in Show Mode,
enabling you to perform several editorial functions at the same time.
For example, you may wish to modify the first page of text while deleting
lines 100/150. To do this you would do the following:
* SHOW the first page (10 lines) of the source code for the
modification. (Your Command Window will also appear on the screen.)
* Type in your modifications to the program directly.
* Type in DELETE 100/150 in the Command Window.
* Press the ENTER key.
After you press ENTER, RISE reads in your changes, then pauses and
executes your DELETE command, leaving you in the page modification mode
of the SHOW command.
MPE/iX 5.0 Documentation