Datastage scenario on reading data

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
bhargav_dd
Premium Member
Premium Member
Posts: 57
Joined: Tue Jun 30, 2009 9:38 am

Datastage scenario on reading data

Post by bhargav_dd »

Hi Folks,

I have one file Where it has n number of records , The Output i need first 20 records in first file and Other 20 records in second file and other 20 records in third file, The next 20 records will again go to first file like it has to go in a round robin way
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Three output links from Transformer stage, constrained by expressions testing the three possible values returned by

Code: Select all

Mod(Int(@INROWNUM/20),3)
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