The map groups section is organized into the following tables.
Figure 73. Map Groups -- general information
Figure 74. Map Groups -- general syntax and floating areas
VisualAge Generator 4.5
| EGL produced by the migration tool | Migration tool considerations |
---|---|---|
The map group part can contain the following:
| The formGroup part can contain the following:
An example of the format of a form group part is as follows: FormGroup groupName { [ alias="generationName"] [ screenFloatingArea {screenFloatingAreaInformation}] [printFloatingArea {printFloatingAreaInformation}] Form formName type textForm {formProperties} [variableFields] [constantFields] end // end formName use formName2; end // end groupName |
The migration tool uses the VAGen device type to determine whether the floating area information is for a Display map (screenFloatingArea) or a Printer map (printFloatingArea). See Figure 75 about setting deviceType.
|
Not applicable. | alias | The migration tool does not rename map groups even if they conflict with an EGL reserved word. Special considerations apply. See Reserved words and formGroup names for details and potential problems. |
Floating area information includes the following:
| Floating area information includes the following:
Here is an example of the screen floating area that is used for text forms: screenFloatingArea { screenSize=(lines,columns) topMargin=nn, bottomMargin=nn, leftMargin=nn, rightMargin=nn } Here is an example of the print floating area that is used for print forms: printFloatingArea { deviceType=singleByte, pageSize=(lines,columns) topMargin=nn, bottomMargin=nn, leftMargin=nn, rightMargin=nn }
|
The migration tool uses the VAGen device type to determine whether the floating area specification is for display maps (screenFloatingArea) or print maps (printFloatingArea). The migration tool computes the margin information as follows:
See Figure 75 for information about setting the deviceType.
|
Printer type can be one of the following:
| deviceType=singleByte | doubleByte
| The migration tool sets the EGLdeviceType property based on the VAGen printer type. |
Figure 75. Map Groups -- device names, types, and sizes
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.