Page 1 of 1

Need to write XML file on MQ queue

Posted: Thu May 30, 2013 11:18 am
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

Posted: Thu May 30, 2013 1:28 pm
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