Copy input row

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
yxie
Premium Member
Premium Member
Posts: 10
Joined: Tue Apr 03, 2007 3:46 pm

Copy input row

Post by yxie »

Hi,
We have a one single row from source table as a daily record, how to make 24 identical rows as input to target table, which requires data showing like hourly.


Thanks,

Yan
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.

The easiest is to use a Copy stage or a Transformer stage with 24 outputs. Use a Copy stage if there are no columns to be added; use a Transformer stage if there are.

You could bring all 24 links back together using a Funnel stage, or - if the time is a key column in the target table, simply run 24 concurrent sets of (distinct) inserts.
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