Page 1 of 1

Entire text file as a single Message to MQ

Posted: Wed May 25, 2011 8:42 am
by thumati.praveen
Hi,

Can any one have done before the entire text file as a single message to MQ?If so, Please let me know what would be the option we have to set in MQ Connector stage.

Thanks In advance,
Praveen.

Posted: Wed May 25, 2011 4:48 pm
by eostic
MQ isn't the issue as much as "getting the file" into a single column. I'd probably use a Server Job and then just have a Folder Stage pick up the file "as is" and send as a single large column (check out the Folder "Built-in" table definition for the column called Record) into the MQ Stage. I've done that for documents as large as 100M.

Ernie

Posted: Wed May 25, 2011 11:54 pm
by thumati.praveen
Thanks for the suggetion.Is there any way to do in parallel job?

Thanks Again,
Praveen.

Posted: Thu May 26, 2011 5:22 am
by eostic
Not easily. The sequential stage cannot consistently pick up a "whole" file.....if it has variable length text with stray embedded CRLFs anywhere, it is likely to fail......and maybe not in test, but at some future time....

Ernie