To convert a COBOL record to a business object, the binary host data handler loops through the attributes of the top-level business object definition. It obtains the name of the business object to create, then processes the attributes recursively, in the order in which attributes appear in the top-level business object and its children, assigning values from the binary record to the business object.
The steps the data handler takes to process the binary data into a business object are as follows:
Processing of data involves the additional transformations:
Data Type | Processing |
---|---|
ASCII/EDBDIC | As is |
Numeric (General) | As is |
Packed Decimal | Unpack the bytes |
DBCS | Decode using Cp930 |