ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Cobol Program to put batch file in MQQueue

Post new topic  Reply to topic
 Cobol Program to put batch file in MQQueue « View previous topic :: View next topic » 
Author Message
KC
PostPosted: Thu Nov 06, 2008 1:38 pm    Post subject: Cobol Program to put batch file in MQQueue Reply with quote

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
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 06, 2008 2:30 pm    Post subject: Re: Cobol Program to put batch file in MQQueue Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Cobol Program to put batch file in MQQueue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.