Need to write XML file on MQ queue

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
rajudx
Participant
Posts: 45
Joined: Tue Nov 14, 2006 1:58 pm
Location: NJ

Need to write XML file on MQ queue

Post by rajudx »

Hi,

We need to write XML file into queue and planning to place whole file data into queue.

Designed job like

(Reading input file) External_Source---->MQ stage.

Source program given --->cat cust.xml

Issue is every record from XML file creating separate message and our requirement is we need to write every XML files as one message on queue.

Please let me know which process we need to use.

Thanks,
Raju
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Are you also creating the xml via DataStage ? If so, best to just go directly from xml stage to mq....... If not, use a server job and go from folder to mq. The folder stage is designed to read whole files into a column.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply