XML output to an URL

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
ping
Participant
Posts: 2
Joined: Tue Jun 01, 2004 9:05 am

XML output to an URL

Post by ping »

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?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Welcome!

I don't believe so, at least not the "HTTP the output stream to an URL" part. There have been other posts on this subject here, you may be able to turn them up with a search.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

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.
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