Combine columns from Dataset and tables.

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
chetan.c
Participant
Posts: 112
Joined: Tue Jan 17, 2012 2:09 am
Location: Bangalore

Combine columns from Dataset and tables.

Post by chetan.c »

Hi,
I have data like this.
Dataset,
col1,col2,col3.

Table:
tab1,tab2,tab3.

My output should be
col1,col2,col3,tab1,tab2,tab3.

There are no keys in both data on which i can join.

Please let me know if further clarification required.

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

Post by ray.wurlod »

So what is the rule? First row with first row? Is there perhaps only one row in each source?

Without knowing the rule no-one will be able to help you.

Once the rule is known, the answer will probably involve generating an artificial key on each stream of data.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

"further clarification required" = True
Choose a job you love, and you will never have to work a day in your life. - Confucius
kiran kumar
Participant
Posts: 25
Joined: Wed May 02, 2007 1:07 am

Clarification...

Post by kiran kumar »

Hi,

I'm facing a similar situation. The only diff is, the dataset is replaced by another table.

Can you please help me in resolving this.


Regards,
Kiran Kumar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:!: Please start a new post with your specific issue clearly stated.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kiran kumar
Participant
Posts: 25
Joined: Wed May 02, 2007 1:07 am

Post by kiran kumar »

Also, there are multiple rows in each source.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

... and maybe you are using a different version, and maybe you are running on a different platform.

When you start your own thread we'll have a better idea about your problem.
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