Determine what TurboIMAGE/XL data type and length each individual unit would be
assigned if it were to be defined as an individual data item in the TurboIMAGE/XL database
schema.
For example,
PART-INFO, a large field in the INVENTORY
data set, contains several units
of information about a particular part.
The DISPLAY MAP command shows how it is mapped at attach time:
>>DISPLAY MAP FOR SALES INVENTORY.PART_INFO
TurboIMAGE/XL DB : SALES.SERED.ATC
DBEnvironment : PARTSDBE.SERED.ATC
Owner Name : SALES
MAPPED SOURCE MAPPED SOURCE MAPPED
TABLE FIELD COLUMN TYPE TYPE NOTES
------------ ---------------- --------------- --------- --------- -----
INVENTORY
PART-INFO PART_INFO X60 CHAR(60)
>>
|
Specifically, PART-INFO contains:
A part identification code (the first 4 bytes of PART-INFO).
The version number of the part (the next 2 bytes of PART-INFO).
Brief notes about the part (the last 54 bytes of PART-INFO).
Each unit of information corresponds to the following
TurboIMAGE/XL data types:
The part identification code is X4 (4 bytes).
The version number of the part is I1 (2 bytes).
The notes about the part is X54 (54 bytes).