USING REFSPEC [ HP Data Entry and Forms Management System (VPLUS/V) ] MPE/iX 5.0 Documentation
HP Data Entry and Forms Management System (VPLUS/V)
USING REFSPEC
You execute REFSPEC by entering the following command in response to the
MPE colon prompt:
:RUN REFSPEC.PUB.SYS
Since REFSPEC runs entirely in block mode, your terminal is placed in
block mode automatically.
Like FORMSPEC, REFSPEC prompts for information on menu screens. The
information you enter on these menus defines how data in the batch file
is to be reformatted and written to an output file. The first menu
issued whenever you run REFSPEC is the Reformat File Menu.
If you specify a new reformat file, REFSPEC creates this file and then
issues the Forms File Menu so you can specify the forms file through
which the data to be reformatted was entered. If you specify an existing
reformat file, it is already associated with a forms file so the Forms
File Menu is not issued, and the Main Menu is the next menu.
NOTE If your file has a lockword, you must enter the lockword along with
the file name, as filename/lockword. If you do not enter a
lockword with the file name and one is required, your terminal
hangs. This is because the MPE prompt requesting the lockword is
in character mode and cannot be received while your terminal is in
block mode. You can recover from this error by doing a hard reset
followed by pressing RETURN at least four times, then pressing f8
to exit. How you perform a hard reset depends on what type of
terminal you are using; consult your terminal manual for
instructions.
Terminating REFSPEC
You can terminate operation of REFSPEC at any time by pressing EXIT to
return to MPE control, indicated by the colon prompt (:).
When you next run REFSPEC after terminating and request the same reformat
file, the Forms File Menu is skipped and the Main Menu is displayed on
the screen. You may then select an option on the Main Menu or you can
press MAIN/RESUME to display the Forms File Menu. If you specify a new
reformat file on the Reformat File Menu, the next menu issued is the
Forms File Menu.
Unexpected Program Interruption
As with FORMSPEC, if the program halts unexpectedly because of a terminal
power failure or the user pressing BREAK, control returns to MPE. Refer
to Appendix G for the steps to recover from such a situation. After you
have recovered, you then press REFRESH to return to the REFSPEC Menu
where you were interrupted. The menu is cleared to initial or previously
entered values. To ensure against damage to the file, reenter the
information on all menus pertaining to the reformat you were creating or
modifying at the time of program interruption.
REFSPEC Function Keys
A set of seven function keys, similar to those used for forms design, are
used to control execution of REFSPEC. These keys are described in Table
5-1.
Table 5-1. Key Definitions
--------------------------------------------------------------------------------------------
| | |
| Key | Key Action |
| | |
--------------------------------------------------------------------------------------------
| | |
| PREV | Go to previous Input Forms Menu (skipping any intervening menus). |
| FORMAT | |
| f1 | |
| | |
--------------------------------------------------------------------------------------------
| | |
| NEXT | Go to next Input Forms Menu (skipping any intervening menus). |
| FORMAT | |
| f2 | |
| | |
--------------------------------------------------------------------------------------------
| | |
| | Not defined. |
| | |
| f3 | |
| | |
--------------------------------------------------------------------------------------------
| | |
| REFRESH | Redisplay current menu in its initial state before any |
| | specifications were entered, or existing specifications were |
| f4 | modified. |
| | |
--------------------------------------------------------------------------------------------
| | |
| PREV | Position to Previous Menu screen in sequence of menus. |
| | |
| f5 | |
| | |
--------------------------------------------------------------------------------------------
| | |
| NEXT | Position to Next Menu screen in sequence of menus. |
| | |
| f6 | |
| | |
--------------------------------------------------------------------------------------------
| | |
| MAIN/ | Request Main Menu or, if Main Menu displayed, return to menu |
| RESUME | displayed when Main was requested. |
| f7 | |
| | |
--------------------------------------------------------------------------------------------
| | |
| EXIT | Terminate REFSPEC and return to MPE control. |
| | |
| f8 | |
| | |
--------------------------------------------------------------------------------------------
NOTE The function keys used by REFSPEC should not be confused with the
function keys defined for ENTRY (see Figure 2-2). Although the two
groups of keys are physically the same programmable keys, their
functions differ significantly.
MPE/iX 5.0 Documentation