New primitive types have been created to reflect the COBOL
elementary definition of the attribute.
The calculation is performed based on the primitive type (either
UML default primitive types or the ones provided) and the extra characteristics
of the (optional) stereotype.
Table 1. Mapping Primitive type to COBOL-dependent
type| Primitive type |
COBOL-dependent type |
| Binary |
VARCHAR |
| Boolean |
X |
| Date |
DATE |
| Integer |
S9(18) |
| Currency |
S9(18) |
| Float |
S9(16)V9(2) |
| Email |
X(32) |
| String |
X(32) |