VisualAge Generator: VisualAge Generator supports the numeric hardware attribute for character constant fields, character variable fields, and numeric variable fields. The numeric hardware attribute prevents the end user from typing non-numeric data in a variable field.
EGL: EGL only supports the isDecimalDigit attribute for character variable fields. Numeric fields have a soft edit to ensure that only valid numeric characters and formatting characters such as a sign or decimal point are entered into the field.
Associated part needed for migration: Not
applicable.
Figure 25. Map fields and the numeric hardware attribute
Migrating with the associated part | Migrating without the associated part |
---|---|
The migration tool does the following:
| The migration tool does the same thing as mentioned in the Migrating with the associated part column. |
Potential Problem: The end users will notice a slight change at run time because they will be able to type non-numeric data into numeric fields. EGL will issue a runtime error message if this occurs. Possible Solution: Consider notifying your end users that
this is an expected difference when changing from VAGen-generated code to
EGL-generated code.
| The same problem listed under the Migrating with the associated part column can occur. You can use the same solution. |
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.