To specify the generation parameters for an Adelia Server 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
Checked |
The generated source will be compiled. |
Default value: checked.
Delete sources
Checked |
The generated source files will be deleted after the object has been compiled. |
Default value: checked.
Debug
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.
Profiling
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.
Servers
Check boxes
These boxes let you select the generation platforms for each logical server used in the program.
Win
Checked |
The code for the logical server is generated in the corresponding server module on a Windows platform. |
Java
Checked |
The code for the logical server is generated in the corresponding server module on a Java platform. |
400
Checked |
The code for the logical server is generated in the corresponding server module on an AS/400 platform. |
Mob
Checked |
The code for the logical server is generated in the corresponding server module on a Mobile platform. |
Loc
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,400 and Mob boxes can be checked simultaneously, but the Loc box is incompatible with the other seven boxes.
Dft
Checked |
The Win, Java, 400, Mob and Loc box combination is as defined in the corresponding logical server definition box. |
Unchecked |
It is possible to choose different combinations of the Win, Java, 400, Mob and Loc boxes for each server. |
Note: If the Win, Java, 400, Mob and Loc boxes are all unchecked, the Dft box is automatically checked again.
Mobile generation platform
The following check boxes are enabled if the Mobile server is selected (Mob box checked).
Check boxes
ARMV4
Checked |
The code is generated for the ARMV4 platform. |
Intel x86
Checked |
The code is generated for the Intel x86 platform. |
____
Check boxes
Submit
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.