XML Reader

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
VasanthRM
Participant
Posts: 37
Joined: Wed May 11, 2005 3:05 am

XML Reader

Post by VasanthRM »

Hi All,

Can anyone let me know what are the different parsing methods used by xml reader in DS.

Is the xml read sequentially or the key field defined for the xml play's any role with parsing the xml?

Thank in Adavnce
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

The dsjob command can produce a XML file with row counts and parameter values. Both are repeating. So it is a good way to learn how to parse XML.

The job DSJobReportDb included with EtlStats does exactly this. It parses the XML from dsjob.exe or dsjob in UNIX. It parses all the repeating groups separately because the reader forces you to do so. That bug may have been fixed. Not sure. Download it and try. Let us know.
Mamu Kim
Post Reply