How to use XMLInput and XMLOutput Stage in DataStage PX 7.0

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
Ananda
Participant
Posts: 29
Joined: Mon Sep 20, 2004 12:05 am

How to use XMLInput and XMLOutput Stage in DataStage PX 7.0

Post by Ananda »

hi,

Can you please explain how to use the XMLInput and XMLOutput Stage in DataStage PX 7.0

I have tried using them with the help provided by DataStage "Help", but still I am finding error.

Please let me know the procedure to use the same.

Thanks

regards
anand
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I posted EtlStats on my web site and on ADN. It uses dsjob -report Project Job XML to get row counts, start and stop times. Do a search I explained it several times. It was based on another post on ADN called DSJobReport. You could download that as well. It is not as complicated.

You do not need to create XML to use these. The dsjob command will do it for you. dsjob is a part of DataStage so this is an easy way to get into XML. This is my only XML work so do not expect me to know much more than how to make this work. It does parse the data 3 times for parameters, row counts and job durations. XML stages are very picky and give strange errors like divide by zero.
Mamu Kim
Post Reply