XML output to an URL
Moderators: chulett, rschirm, roy
XML output to an URL
I need to read from an Oracle table and produce XML format output, and HTTP the output stream to an URL (one row at a time). Can DS do this? If yes how?
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
This capability was added to UniVerse after the split from DataStage, in the form of a function library called CallHTTP. It does not exist natively in DataStage.
DataStage can certainly produce XML output.
You will therefore need something external to DataStage to handle sending the generated text (XML) file to its URL. You can execute this under DataStage control, but you can't do it with DataStage as shipped.
Depending on how the utility is written, you may be able to use the Filter property on a Sequential File stage. Otherwise, use ExecSH/ExecDOS or call DSExecute to execute the external command.
DataStage can certainly produce XML output.
You will therefore need something external to DataStage to handle sending the generated text (XML) file to its URL. You can execute this under DataStage control, but you can't do it with DataStage as shipped.
Depending on how the utility is written, you may be able to use the Filter property on a Sequential File stage. Otherwise, use ExecSH/ExecDOS or call DSExecute to execute the external command.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
