Originally posted by: SystemAdmin
Hi, everybody.
I'm having some issues regarding an input file with multiple types of records. The input file is a text file, with fixed length attributes.
I do know how to identify record types by the use of partitioned groups and initiators. However, what I need to do is a bit different.
Rather than identifying records by its "n" first characters, I have to identify them by the last three characters of the second attribute. Let me clarify this with an example.
DHDR00ABC AA CCC DHDR03DEF 44422211100055533 331 DDET08GHI 4 DISTR
The first two attributes are common for all record types:
RECID CHAR(01) ,
/* DI RECORD ID */ STRUCNAM CHAR(16) ,
/* DI STRUCTURE MAME */
The last three characters of STRUCNAME identify the record type. For instance, first record is of ABC type, second is DEF, and third is GHI.
Any ideas on how to implement this?
Thanks a lot in advance,
Martín
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender