To specify the generation parameters for a reportless Visual Adelia Batch 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.
Click the Generate button in the Working with a Batch Program dialog box, after checking the Source box.
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
Buttons
Windows
This button opens a dialog box that lets you specify the Windows client generation directories.
It will only be active if the relevant box is checked.
Mobile
This button opens a dialog box that lets you specify the Mobile client generation directories.
It will only be active if the relevant box is checked.
Java
This button opens a dialog box that lets you specify the Java client generation directories.
It will only be active if the relevant box is checked.
The Java client can only be generated for reportless Visual Adelia batch, Visual Adelia interactive and Adelia server programs.
Check boxes
Default
Box checked |
The parameters defined in the environment attributes are assigned by default. |
Mobile generation platform
The options specified for the Mobile generation process apply to both the Mobile client and the Mobile server.
Check boxes
ARMV4
Box checked |
The code is generated for the ARMV4 platform. |
Intel x86
Box checked |
The code is generated for the Intel x86 platform. |
Java generation
Drop down list
Standard
Standard Java generation.
Cloud
Cloud generation
Web service
Generation specific to the production of a Web service.
Standard + Cloud
Standard Java generation and Cloud generation.
Click here for more information on Adelia Web services.
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. |
Mob
Box checked |
The code for the logical server is generated in the corresponding server module on a Mobile 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,400 and Mob boxes can be checked simultaneously, but the Loc box is incompatible with the other seven boxes.
Dft
Box checked |
The Win, Java, 400, Mob 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, 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.
____
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.
Automatic save and registration
This check box is only visible when the Java code is generated in order to produce a Web service.
Box checked |
The Web service is deployed on the reference Web site and is automatically registered in the Adelia environment. |
Box unchecked |
The Web service's classes are reconstituted in the reference Web site using the newly-generated sources. The Web service is not declared to the application server. The procedure that registers the Web service in the Adelia environment is not performed. This option provides a useful means of updating a Web service quickly, provided none of its interfaces have changed since it was last generated. |
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.