XMLIn stage - generic usage

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
durgaps
Participant
Posts: 74
Joined: Sat Jul 08, 2006 4:09 am
Location: Melbourne, Australia
Contact:

XMLIn stage - generic usage

Post by durgaps »

I have a XML message coming as input. One of the tag/columns has the structure

/Message/HiGACTXNULD/JobMetaData/METLJobId/text(). Almost all the tags have this structure.
And I am using this in the 'Description' to map it to the respective columns using a XMLIn stage. Now the requirement is,
I have another XML message which has the same format as the first one with one exception. Its format is:
/Message/HiGACFFXULD/JobMetaData/METLJobId/text().
As you can see HiGACTXNULD has been replaced by HiGACFFXULD.
I need to use my current job design to handle this. Is there anyway of doing this?

My current job-design is as follows:

MQueue ---> XMLIn ---> Seq_File

Please help me.

Thanks
Durga Prasad
Post Reply