Originally posted by: monika_srivastava
Hi,
I am new to IBM WTX and looking for solution to one problem I am facing.
I have to create X'12 from a flat file.
So my input card is Flat file type tree and Output is X'12 type tree.
My file looks something like this
XXX YY1
XXX YY1
XXX YY2
XXX YY2
XX1 YY1
Column 1 contains some value and column 2 contain some values.
After reading a file, whenever the combination of coulmn1 and colunm2 chnages I have to create a new X'12.
So I have created a map and called a functional map from it.
From Map I have passed (Colum1,column2,file) as argumnets and called a functional map.
In the functionla map I am puuting mapping logic.
When I am running this. The whole file is read but It does not create separe X'12.
Infact only first row's value of column1 and column2 are created, rest all are not coming.
So basically it is question of how I can create loops in the maps. I ahve tried to explain with sample examples.
Any quick. help is appreciated.
I need to create new ISA segment every time COL1 and COL2 combination changes
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange