XML Stage - Unable to see the hierarchy coming in the output

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
tanu2706
Participant
Posts: 13
Joined: Tue Jun 15, 2010 2:56 am

XML Stage - Unable to see the hierarchy coming in the output

Post by tanu2706 »

Hi

I am trying to create one XML file using the XML stage. In the Assembly editor, under the XML Composer Step - When I am clicking on the Mapping tab, I am able to see the desired hierarchy and also map the source cols to the desired output cols. Job is able to get compiled and even give me the output file. However, its not giving the complete hierarchy. Its just giving the first few headers and not the complete tree.

What could be the possible reason behind it?

Thanks
Tanu
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

It depends...if you have multiple "paths" of that hierarchy (such as a company xml document with "employees" and also an unrelated "products") node, then they have to be related together with other steps.....

Usually, if you have only one input link coming in, which is very likely already a relational set of rows, you will be creating one nested set of nodes on the output document.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
tanu2706
Participant
Posts: 13
Joined: Tue Jun 15, 2010 2:56 am

Post by tanu2706 »

am not able to read your reply. It says premium content.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

tanu2706 wrote:am not able to read your reply. It says premium content.
To read the entire response from the premium posters you need to get yourself a premium membership (there's a link from the Home page).
Premium membership is the funding model of DSXchange; it's how the hosting and bandwidth costs are met. At less than $0.30 (Rs12) per day, we think it's not expensive, and the benefits certainly outweigh the cost.
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