Context:
Classes ValueTypes Interfaces Enums Properties Indexers Fields
|
01 dAmount decimal. 01 asNames string occurs 5. 01 abFigures binary-long occurs any.
01 objMyType type MyType. 01 objDataTime type DateTime. *> .NET COBOL 01 objDataTime type java.util.Date. *> JVM COBOL
Where:
To define a namespace to represent long class names so that you need to type a short name only, use the ILUSING directive.
All the predefined COBOL data types and any further managed types that you define are mapped onto the corresponding native managed type (.NET or JVM), but they must conform to the following rules. They:
Any COBOL data item that does not follow these rules, or is of any other category, is not considered to be a managed type (.NET or JVM) and is allocated by the Compiler within an internally managed byte array. COBOL pointer data items always point into one of these byte arrays.