XFM last row

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
hewj
Participant
Posts: 1
Joined: Fri Nov 17, 2006 11:46 am

XFM last row

Post by hewj »

Hi,

I have a job. Reading from a file, XFM to 2 outputs. How to construct a XMF that return last row to 2nd output ?

Thanks
Hewj
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D

Use an Aggregator stage with Last as its aggregate function following the Transformer stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply