Originally posted by: Jaango
Hello WTX experts,
I am having trouble in creating type trees for an ISO 8583 message. ISO 8583 messages have some formats
There will be a hex number, whose bit position(If set 1), will determine the presence of fields
0110 0000 0000 0000 0000 1000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 6 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0
The above(6000080000000000 in hex) means field 2, 3 and 21 are present in the input message, as those bits are set to 1.
Now each of the field may be defined like below
field no=
"2" charlength=
"2">variable</field>
means it is a variable length field and the first two characters detrmine the length
field no=
"3" total=
"4">fixed</field>
means it is a fixed length field of four characters.
<field no=
"21" charlength=
"2"> <subfield no=
"1" total=
"3">fixed</subfield> <subfield no=
"2" charlength=
"2" idcode=
"ABC">variable</subfield> </field>
means field 21, length is determined by the first two characters, inturn it consists of subfields. The variable length subfield will start with a particular code(ABC above), followed by the character length, the character length can be zero
If anyone has type tree similar to the above, please let me know. I am trying to convert this message to xml and vice versa using WTX.
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender