To specify the generation parameters for a Visual Adelia interactive program, you must perform one of the following actions:
Select the Generate option in the 4GL Editor's Program menu, or click the corresponding toolbar icon.
Select the Generate option in the PGM block's context-sensitive menu in the 4GL Editor's tree view.
Click the Generate button in the Object Manager's Programs tab after checking the Source and Parameters boxes.
Select the Generate with parameters suboption of the Submit for generation option in the context-sensitive menu for the Maintenance Manager's Results and Storage tabs.
Select the Generate with parameters suboption of the Submit for generation option in the context-sensitive menu for the Multisource Search tool's Results and Storage tabs.
This dialog box lets you edit the 3GL generation parameters and run the generation procedure.
Shared
Check boxes
Implicit management rules
Default value: choice set in the environment attributes.
Create object
Box checked |
The generated source will be compiled. |
Default value: checked.
Delete sources
Box checked |
The generated source files will be deleted after the object has been compiled. |
Default value: checked.
Debug
Box checked |
The necessary data for debugging the generated program is kept. The program can then be debugged. |
Default value: choice set in the environment attributes.
Multilingual generation
Box checked |
The program will be generated in all of the translation manager's maintained languages. It will then be possible to execute the program in those languages. |
If the program is public: by default, the choice is made in the environment attributes.
If the program is private: by default, the choice is made in the application area attributes (or in some cases inherited from the environment attributes).
Profiling
Box checked |
The necessary data for profiling the generated program is generated. The program can then be profiled. |
Default value: choice set in the environment attributes.
Unicode generation
Checked |
The program will be generated in Unicode mode. |
Default: standard choice made in the environment attributes.
Note : generating in Unicode mode also allows the activation of the support for Windows themes.
Buttons
Characteristics
Opens a dialog box that lets you specify the program's generation characteristics.
Client
Check boxes
Windows
Box checked |
The code corresponding to the client part is generated on a Windows platform. |
Java
Box checked | The code corresponding to the client part is generated on a Java platform. |
Default
Box checked |
The parameters defined in the environment attributes are assigned by default. |
Buttons
Options
This button opens a dialog box which allows you to specify the generation directories of the selected generation platforms (clients and servers).
Java platform
Radio buttons
Client
Box checked | The client part will be generated in Java mode. |
Cloud
Box checked | The client part will be generated in Cloud mode. |
Servers
Check boxes
These boxes let you select the generation platforms for each logical server used in the program.
Win
Box checked |
The code for the logical server is generated in the corresponding server module on a Windows platform. |
Java
Box checked |
The code for the logical server is generated in the corresponding server module on a Java platform. |
400
Box checked |
The code for the logical server is generated in the corresponding server module on an AS/400 platform. |
Loc
Box checked |
The code for the logical server is generated locally in the client part. There is therefore no corresponding server module. |
Note: The Win, Java and 400 boxes can be checked simultaneously, but the Loc box is incompatible with the other six boxes.
Dft
Box checked |
The Win, Java, 400 and Loc box combination is as defined in the corresponding logical server definition box. |
Box unchecked |
It is possible to choose different combinations of the Win, Java, 400 and Loc boxes for each server. |
Note: If the Win, Java, 400 and Loc boxes are all unchecked, the Dft box is automatically checked again.
____
Check boxes
Submit
Box checked |
The Generate button submits the generation job for the program. |
This box is only enabled if the generation job is run from the 4GL Editor.
When the box is enabled (as it is by default), the value is shown in the Submit 3GL generation box in the Environment tab in the Editor Options dialog box.
When it is not enabled, it takes the value of the Submit box specified at program management level.
Buttons
Generate (validation)
Validates any changes and runs the requested generation job.
Cancel
Closes the dialog box without validating any changes or running the generation job.
Keyboard shortcut: Esc.