VisualAge Generator to Enterprise Generation Language Migration Guide

SET mapItem attributes

VisualAge Generator: VisualAge Generator tolerates attributes such as protect, highlighting, and color for variables and constants on printer maps.

EGL: With the exception of underline, EGL does not support attributes for print forms.

Associated part needed for migration: Not applicable.

Figure 46. SET mapItem attributes

Migrating with the associated part
Migrating without the associated part

When migrating a printer map, the migration tool omits attributes that are not supported by EGL for print forms.

When migrating a function, the migration tool migrates the SET statement without regard to whether the map is a display map or printer map.

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

Potential Problem: There is no problem for a form. A problem only arises if the function includes logic to set attributes such as color, highlight, or protect for a print form. There will be an error on the Tasks list.

Solution: If the function is only used for print forms, modify the function to remove the set statement. If the function is used with both text and print forms, make a copy of the function for use with print forms. Modify the new function to remove the set statements and use this new function for any print forms. Disadvantage: This has the potential to ripple back into functions that use the function with the set statement.

Potential Problem: The same potential problem and solution as listed in the Migrating with the associated part column apply.


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