VisualAge Generator to Enterprise Generation Language Migration Guide

Reserved words and table names

VisualAge Generator: VisualAge Generator does not have reserved words. The # symbol is not valid in VAGen table names.

EGL: EGL has reserved words. In addition, EGL does not permit the # symbol as the first character of a part name. A dataTable name cannot be a reserved word.

Associated part needed for migration: Not applicable.

Figure 17. Reserved words and table names

Migrating with the associated part
Migrating without the associated part

The migration tool does not rename the table for you. The migration tool used in Stage 1 of migration issues an error message if the table name matches the reserved word list. If you do not change the table name, the migration tool used in Stage 2 of migration also issues an error message.

The migration tool does the same thing as mentioned in the Migrating with the associated part column.

Potential Problem: A problem only arises if a dataTable name matches the reserved word list. EGL validation results in a message on the Tasks list.

Solution: Rename the table in VisualAge Generator before you migrate, or rename the dataTable in EGL after you migrate. If you change the name in VisualAge Generator, be sure to change all references to the table in programs, maps, functions, and data item definitions. If you change the name in EGL, you must change the name of the table and all references to it. This includes references in the following places:

  • Program use declaration statements
  • Logic statements in programs and functions
  • Data item validatorTable properties
  • Form field validatorTable properties

If you want to keep the original table name as the name for the generated table, set the alias property to the original table name. If you do not specify the alias property, be sure to change any non-EGL references to the table name, including CICS program definitions.

The same problem listed under the Migrating with the associated part column can occur. You can use the same solution.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]