Work with Menu Option




 .....................................................................
 :                       Work with Menu Option                       :
 :                                                                   :
 : Menu Name . . . . . . . . :   OOOOOOOOOO                          :
 : Option  . . . . . . . . . :   OO                                  :
 :                                                                   :
 : Text  .   IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII      :
 :                                                                   :
 : Authority Required .   I                                          :
 : Hold Status  . . . .   I                                          :
 : Sub Menu . . . . . .   IIIIIIIIII                                 :
 : Help Member  . . . .   IIIIIIIIII                                 :
 : Program  . . . . . .   IIIIIIIIII                                 :
 : Command  .   IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII :
 :              IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII :
 :              IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII :
 :              IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII :
 :              IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII :
 :                                                                   :
 : F3=Exit   F4=Prompt   F12=Cancel                                  :
 :                                                                   :
 :...................................................................:





Introduction

This function allows you to add new records to a database file, and to change existing records on the file: one record at a time. The function may be used in either of two modes; '*ADD' mode and '*CHANGE' mode; in '*ADD' mode you may add new records; in '*CHANGE' mode you may change existing records. You may switch between the two modes by means of a function key. Key_screen To add a new database record, you must first enter the new 'key' fields that identify the record, then press ENTER. The function will check that the key doesn't already exist, and either prompt you for the new record details or tell you that it already exists. To update a database record, you must first enter the 'key' fields to identify the record you want. The function will then look for your record, and either display it, or tell you that it cannot find it. Note that if the function already knows the key of the record, it will automatically skip the key screen, and display the record directly.



Function Keys

F1=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.

F3=Exit.

Exit the current task. In most cases this will return you to a high level function without displaying all displays encountered in getting to this point.

F4=Prompt.

Display a list of values available to be used in the related field. Place your cursor on the field for which you would like to see a list and press the F4 key.

F5=Reset.

Refreshes the display. In most cases the display will be refreshed to the original values and any keyed information typed after the last enter key will be lost.

F9=Change mode.

Change program entry mode to change in order to display or update existing records.

HELP=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.



Variable Definitions




Function Keys

F1=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.

F3=Exit.

Exit the current task. In most cases this will return you to a high level function without displaying all displays encountered in getting to this point.

F4=Prompt.

Display a list of values available to be used in the related field. Place your cursor on the field for which you would like to see a list and press the F4 key.

F5=Reset.

Refreshes the display. In most cases the display will be refreshed to the original values and any keyed information typed after the last enter key will be lost.

F12=Cancel.

Return to previous display without performing any action.

F21=Key screen.

HELP=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.



Variable Definitions

Menu Name

Display only
The name of the menu.

Option

Display only

Menu Name

Display only
The name of the menu.

Option

Display only

Text

REQUIRED
A description of the menu option.

Authority Required

OPTIONAL
A code indicating if authority is required to use the menu option.
   *BLANK = Not Required
   Y = Required

Hold Status

OPTIONAL
The current status of the option indicating whether or not the option is available to be used.
   *BLANK = Available
   Y = Held

Sub Menu

OPTIONAL
The name of a sub menu to be displayed if this option is selected.

Help Member

OPTIONAL
The name of the associated help member to be displayed for this option.

Program

OPTIONAL
The name of the program to be executed when this option is selected.

Command

OPTIONAL
The command string to be executed as a command if this option is selected.