VisualAge Generator to Enterprise Generation Language Migration Guide

Intermediate variables required for migration

VisualAge Generator: Some VAGen statements require intermediate variables to provide the equivalent support in EGL.

EGL: EGL provides system library functions that provide some information required for VAGen migration. This support is only available in VisualAge Generator Compatibility mode.

Associated part needed for migration: Not applicable.

Figure 33. Intermediate variables required for migration

Migrating with the associated part
Migrating without the associated part
When migrating any program, the migration tool always does the following:
  • Includes declarations for the following:
    • custPrefixEZESYS
    • custPrefixEZEREPLY
    • custPrefixEZE_ITEMLEN
    • custPrefixEZE_WAIT_TIME
  • Includes an initialization statement to set the value of custPrefixEZESYS to the old VAGen EZESYS value.

custPrefix is the same prefix that is used for changing part names that conflict with reserved words. Use the VAGen Migration Syntax Preferences to set its value.

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

The 4 variables are used for migrating the following:

  • References to EZESYS in statements other than IF, WHILE, and TEST where the old VAGen value is required.
  • VAGen service routines if the (REPLY option is not specified. In this situation, the current value of handleSysLibErrors must be saved and restored.
  • The TEST nnn, +nnn, or -nnn statement which has no direct equivalent in EGL. An EGL system library function is used to determine the length of the data the user entered.
  • The EZEWAIT function. In this situation, the migration tool adds logic to convert the time to seconds.

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


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