need to concatenate multiple input columns into 1 output col

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
yogeshhd
Participant
Posts: 7
Joined: Wed Jul 21, 2010 6:28 am

need to concatenate multiple input columns into 1 output col

Post by yogeshhd »

need to concatenate multiple input columns into 1 output column for each record. I am reading data from xml sources, after reading data the requirement is to concatenate the input columns of a record to 1 column and store. I feel using transformer stage variable is expensive. Please suggest any alternative. Thanks
kittu.raja
Premium Member
Premium Member
Posts: 175
Joined: Tue Oct 14, 2008 1:48 pm

Re: need to concatenate multiple input columns into 1 output

Post by kittu.raja »

Use a Pivot stage and you can achieve it
Rajesh Kumar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's not a pivot, just a concatenation. And there really shouldn't be any extra 'expense' with doing it in a stage variable.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sridinesh2009
Participant
Posts: 14
Joined: Wed Nov 11, 2009 4:52 am
Location: New York

Re: need to concatenate multiple input columns into 1 output

Post by sridinesh2009 »

use column export stage
Dinesh.D
Post Reply