Originally posted by: SystemAdmin
Hi Rajesh,
If I got Ur qn correctly, what U need is,
U have an input file with records - Name,Roll,age
And U want to segregate the records with same age to 1 file... So if there are 5 different age, 5 output files will be generated. Each file will have the records with that age.
U can achieve this as follows:
Step 1: Get the list of different ages (U can use UNIQUE function here to get the distinct values of age)
Step2: Call a functional map F_AGE (Age from previous step, Input File)
The functional map will be called for each occurrence of the age.
Step 3: Inside the functional Map, EXTRACT the records for that age, and Use PUT function to write these records.
Please let me know if you need further clarification.
Thanks,
Deepthi
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender