After the user has selected the item they wish to process, they are taken into the main function screen. This screen is shown in the figure below. Use of the EXIT key will return you to the initial module selection screen.
This screen represents the main menu from which the various functions can be selected. To generate a new program, the user progresses from one option to the next in sequence. On reaching option 11, the user will have generated the program, documentation and dictionary items. A brief description of each option follows :-
This option allows the user to define the layouts for the files to be used by PARADYME generated routines. These layouts will include the attributes found on the files as well as a series of default and check values that will be used by the PARADYME system.
Using the array of functions in this option, the user will be able to design the screen layout that will be displayed when the program is run. It also allows the user to set up parameters for cursor positions used for display and entry in the generated routine.
Files to be used
The user enters the shorthand code of ALL the files that will be used by the generated routine.
The user has the ability to modify some of the standard program features by entering appropriate parameters in this module. In addition, extensions to the program documentation can also be entered in this option.
This module represents the core of the system. It consists of two screens, one for entering the single valued prompt definitions and one for the multi-valued prompts. The user enters the prompt characteristics in the sequence that they will be logically processed within the generated routine. Based on these prompt characteristics, PARADYME will produce the required program.
The user enters those messages that will appear at the bottom of the screen when an error is detected.
Selecting this option causes the program to be generated. A display on the screen notifies the user of the progress of the generation.
Compilation and Cataloging
Once the program is generated, it needs to be compiled and cataloged. This option will carry out that function. A display of asterisks notifies the user of the progress of the compilation.
Run the program
The user can quickly check to see if the program performs as the user expected by using this option. If multi-mode was one of the parameters selected in option 4 then an intervening menu appears. Note that this option may fail due to COMMON area incompatibility or by defining subroutine parameter passing.
Define file lookup parameters
PARADYME has the ability to automatically include software that allows the user to look up records in a table file. This software is parameter driven. This option allows the user to define the parameters that define the look up and display for a given table file.
The dictionary items to be used with ENGLISH enquiries will be generated via this option from the parameters entered for this item by the user.
Menu Parameter Entry
Through this option, the user can setup a menu quickly for the system in development. The user inputs a key to identify the menu and gives it a title. The menu display which will be presented to the user can be entered. Below this window is the area where the functions tied to each option can be defined. Once the menu is defined, it can be run by typing the ID at TCL.
Help Screen Entry
The programs that are generated are able to support HELP screens that may be present to aid the user. Through this option, these HELP screens can be entered. The user is prompted for a file reference and a field name. These together form the reference to each HELP item. The user can then enter the information that would be applicable to that particular field. This option may also be accessed through option 1, when the file layouts are setup.
Lock / Unlock Item
Within a development environment, it is possible that 2 programmers may wish to update the same routine. If each is unaware of the others modification, this can result in problems if the program is released to the live environment. To prevent this from happening, a user can "LOCK" an item so that only they can access that item. Whoever takes this option first LOCKs the item so that only they can access the item. Selecting the option a second time, releases the item so that it can be accessed by everyone. Note that this makes use of the PARADYME user logon routine.