The following information is part of the business object attribute -level application text.
Table 5. Business object attributes
Property | Values | Description |
---|---|---|
ParamType | Input/Output/InOut | Indicates what type of parameter the attribute represents. |
Offset | Any integer value | Indicates the offset in the byte array from where the parameter value starts. |
Signed | True/false | For integer/short/long types, the property indicates if it is signed. If not set, the value is taken as unsigned. |
DataLength | Any integer value | Applies to integer/short/long types. Used to distinguish the data length for the signed/unsigned types. If not set, a default of 4 is assumed. |
DecimalPositions | Any integer value | Applies for zoned decimal and packed decimal types. The value represents the number of decimal positions. |
PackedDec | True/false | If set to true, the attribute represents a packed decimal. |
ZonedDec | True/false | If set to true, the attribute represents a zoned decimal. |
The Toolbox for iSeries/AS400 has data conversion classes included. The following table matches the iSeries/AS400 data types with the corresponding IBM WebSphere Business Integration datatypes, along with the data conversion class used.
Table 6. Conversion datatypes and classes
iSeries/AS400 data type | IBM WBI datatype | Data conversion class |
---|---|---|
Signed two byte AS/400 number. | Integer - The app specific info - Signed=true; DataLength=2 | AS400Bin2 |
Signed four byte AS/400 number. | Integer - The app specific info - Signed=true; DataLength=4 | AS400Bin4 |
Signed two byte AS/400 floating point number. | Float | AS400Float4 |
Signed four byte AS/400 floating point number. | Double | AS400Float8 |
Unsigned two byte AS/400 number. | Integer - the app specific info Signed=false; DataLength=2 | AS400UnsignedBin2 |
Unsigned four byte AS/400 number. | Integer - the app specific info Signed=false; DataLength=4 | AS400UnsignedBin4 |
Packed-Decimal AS/400 number. | String - the MaxLength attribute property needs to have the number of digits. App specific info - DecimalPositions=<number of decimal positions>; PackedDec=true | AS400PackedDecimal |
Zoned-Decimal AS/400 number. | String - the MaxLength attribute property needs to have the number of digits. App specific info - DecimalPositions=<number of decimal positions>; ZonedDec=true | AS400ZonedDecimal |
Character data | String - MaxLength has the maximum length for the character data. | AS400Text |
Date data | String - MaxLength has the maximum length for the date data. | AS400Text |