Mapping logic for XML output stage

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
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Mapping logic for XML output stage

Post by ag_ram »

Hi

I have 1 line items XMLs. I need to put these 3 elements into the Orders element

Ex:

job:

dataset1--------XML1----------|
lookup --------XMLoutputstage
dataset2 -------XML2----------|

XML2 will give 3 line items
XML1 will give XML: <Order><a><b></Order)
XML2 will give XML: <Line_Item>
for Lookup key I have used dummy columnwith value 1 so that it will not fail.

Target: <Order><a><b><line_item></Order>

Can anyone help me...how to achieve this requirement.

thanks
kamal
WoMaWil
Participant
Posts: 482
Joined: Thu Mar 13, 2003 7:17 am
Location: Amsterdam

Post by WoMaWil »

XLM is for true a bit complicated. With your DataStage-CD come sample XLM-DataStage-Jobs and sample XLM-Input- aund XLM-Output-Files. Install them in on of your projects an look at them, you will learn for sure a lot about XLM and DataStage.
Wolfgang Hürter
Amsterdam
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Hi Kamal...

Unfortunately I don't entirely understand what you are trying to accomplish...can you be more explict about the sources, the links and stages, and the desired output...

Thanks.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply