3: Creating the Demonstration System Files

3.5.1 User Interface

You enter data into each form in much the same way as you enter data into any data entry form, however the function keys are used slightly differently. Their functions are outlined in the following table:

The GOLD key <F1> followed by another key performs the following additional functions:

For example, to obtain help information you would press:

followed by

When the key for a GOLD function is a letter, either upper or lower case letters may be used. you may type either upper or lower case letters. For example, the previous command could have also been entered:

followed by

On a repeating form, the PREVIOUS function displays the image of a previous form. When a form repeats (as the Field Description form does), the contents of each form (a field’s description on the Field Description form) are displayed one at a time. The PREVIOUS function steps backwards through these form displays ‘wrapping around’ to the last one after the first one is reached.

The NEXT function works like the PREVIOUS function except that the direction of movement is forward. After the last form display is reached, the NEXT function ‘wraps around’ to the first one.

The UPDATE function makes changes to a form. A form must contain data before the UPDATE function is allowed. After the changes have been made, the STORE function saves the changes. If the UPDATE function is used while the form is in UPDATE mode, the original contents of the form are redisplayed. If the CANCEL function is used while in UPDATE mode, the original contents of the form are restored and the UPDATE function is canceled.

The ADD function adds new information to the definition. The current form must be either an empty or repeating form. After the new information has been entered, the STORE function records the contents of the current form. When adding to a repeating form, the contents of the current form are stored in sequence after that of the previous form. If the CANCEL function is used while in ADD mode, the current form is cleared and the ADD function is canceled.

The SWITCH function switches to the next form in sequence. If the new form contains data, it is displayed within the new form. When a form is a repeating form, the contents of the first occurrence of the form are displayed. If you use the SWITCH function when the Secondary Key Field Names form (i.e., the last form) is displayed, the screen is cleared and the File Definition form (i.e., the first form) is redisplayed.

The DELETE function removes information displayed on a form pertaining to a file definition. (Note: This is a vastly different function than that performed by simply pressing the Del key which will vary depending on your system.) The current form must contain data before the DELETE function can be used. After the information has been deleted, the form is cleared. The DELETE function is not allowed while in UPDATE or ADD modes.

The EXIT function writes the information to a definition file and returns to the Data Files Menu in toolkit.

The HELP function displays at any time information on the screen about creating or modifying RMSfiles.

The REFRESH function ‘repaints’ the screen should portions of it be overwritten by system messages or other extraneous displays.

The CLEAR function may be used while in UPDATE or ADD mode to clear the current form.

In addition to the above functions, certain keys perform additional functions.

When any other key is pressed, the character it represents is entered in the field.

The methods for entering data are the same for each of the forms in selection D1- Create File Definition of the Data Files Menu.