VisualAge Generator to Enterprise Generation Language Migration Guide

Program names and reserved words

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

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

Associated part needed for migration: Not applicable.


Figure 30. Program names and reserved words

Migrating with the associated part
Migrating without the associated part
The migration tool does not rename the program for you. The migration tool used in Stage 1 of migration issues an error message if the program name matches the reserved word list. If you do not change the program name, the migration tool used in Stage 2 of migration also issues an error message. The migration tool does the same as mentioned in the Migrating with the associated part column.

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

Solution: Rename the program. You can do this either in VisualAge Generator or in EGL after you migrate. If you rename the program in EGL, you must change the name of the program and all references to it, including references on call, transfer, and show statements. If you want to keep the original program name as the name for the generated program, set the alias property to the original program name. If you do not specify the alias property, be sure to change any non-EGL references to the program 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 ]