The VAGen tables section is organized into the following tables:
Figure 70. Tables -- general syntax, table type, properties, and prolog
VisualAge Generator 4.5
| EGL produced by the migration tool | Migration tool considerations |
---|---|---|
VAGen table part:
| EGL syntax example:
//*** DataTable=tableName*** // prolog //******************* DataTable tableName type tableType { [otherTableProperties] [alias = "originalTableName"] } tableStructure [{ contents = [{rowContents}] }] end // end tableName | The migration tool does not rename tables for you even if they conflict with the EGL reserved word list. The migration tool does not set the alias property. If you must rename a table, you can use the alias property to specify the original name of the VAGen table. See information about table names in Reserved words and table names for details. |
Table types:
| DataTable types:
| No special considerations. |
Properties -- Runtime attributes:
| DataTable properties:
| No special considerations. |
Properties - Fold table contents | Not applicable. If you want the table contents to be folded, you must enter the contents in upper case. | If the VAGen table specifies that the table contents should be folded, the migration tool ensures that the char, hex, and mixed data in the table contents is converted to upper case. |
Prolog | Not applicable. | The migration tool converts the prolog to a comment that precedes the DataTable definition. |
Figure 71. Tables -- Table structure
VisualAge Generator 4.5 | EGL produced by the migration tool | Migration tool considerations |
---|---|---|
VAGen Table structure - with Shared Items:
| DataTable structure - with EGL type definitions:
levelNumber itemName itemName ;
| The migration tool migrates shared items to an EGL variable that is defined using a type definition. For migration, the type definition is always the same as the item name. |
VAGen Table structure -- with Nonshared Items:
| DataTable structure -- with EGL primitive types:
levelNumber itemName dataType(lengthInformation) ; // Description
| The migration tool migrates nonshared items to an EGL variable that is defined using a primitive type. Migration of type, length, and decimals information is the same as described in Figure 61. |
Figure 72. Tables -- table contents
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.