Posted: Thu Nov 06, 2008 1:38 pm Post subject: Cobol Program to put batch file in MQQueue
Newbie
Joined: 05 Nov 2008 Posts: 2
Hi
I have a large message.The message consists of 1 Header record,multiple detail records and 1 Trailer record.I am able to put each record in MQQueue through Cobol (one record at a time).I have to put the entire batch file in the MQQueue at one time through Cobol.Can anybody send me sample Cobol program for it.
Thanks,
KC
Posted: Thu Nov 06, 2008 2:30 pm Post subject: Re: Cobol Program to put batch file in MQQueue
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
KC wrote:
I have to put the entire batch file in the MQQueue at one time through Cobol.
Why?
KC wrote:
Can anybody send me sample Cobol program for it.
Either use your existing programme to assemble all the file records in a single message & put that;
or don't try to reinvent the wheel & use of the the commercial file-to-MQ solutions, which has already overcome the issues your application will encounter. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum