Originally posted by: SystemAdmin
Hello all,
I am facing a problem in validating a kind of input record which is a 1200 byte record divided in two parts by new line character, 600 bytes in each part.The second 600 byte data is optional and it may or may not come in the record.
However the first record has initiator E2EDL24002,but we cannot give initiator for the second 600 byte part as this is the part of E2EDL24 segment but coming in the second part of the record.
When the validation map is trying to read the data it always reads the third i.e. E2EDL41 record in place of the optional 600 byte data in E2EDL24 segment if the optional data dose not come in the input file.
Example:
The attached input data has the first segment E2EDL24 with initiator E2EDL24002.the size of the segment is 1200 bytes,whereas in the input data it is coming as two records 600 byte each.the second 600 byte may or may not come in the input.so E2EDL24 segment can be 600 or 1200 bytes.
If the second record comes,the map reads the data perfectly,but if this optional part dose not come in input, it reads the E2EDL41 segment in place of the second 600 byte optional data.
Please find the attached input data with the type tree for the reference and suggest how to proceed with the type tree to read the optional 600 byte data in E2EDL24 segment.
Thanks in advance for your help
Thanks and regards
Santanu Baral
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender