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 » General Discussion » MQftp multiple messages

Post new topic  Reply to topic
 MQftp multiple messages « View previous topic :: View next topic » 
Author Message
boydl
PostPosted: Thu Feb 27, 2003 10:53 pm    Post subject: MQftp multiple messages Reply with quote

Novice

Joined: 05 Feb 2003
Posts: 16

Hi,
I am trying to use MQftp to ftp the MQ messages (which is on an NT OS) to a file on a AS/400 machine. However, it reads a single message at a time. Is there a way to read all the messages on the queue and ftp it to a single file on the AS/400?.

If there is any other better way to do it, I would greatly appreciate.

thnx
Back to top
View user's profile Send private message
tillywern
PostPosted: Thu Mar 20, 2003 11:25 am    Post subject: Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

I hope you have the source for MQftp....

If you have the source for the program change the location of when you call the ftp functionality. The code probably does a read while not 2033 invoking hte ftp logic each time. Just echo the messages to a file while reading from the queue until 2033 is encountered. Then execute the ftp logic.

A better design would incoreperate logic to give a max number of messages that can be in a file. This would allow for the process to be stable should a great number of messages be placed on the queue at the same time. This is especially important if you are managing persistant messages... MANAGE YOUR COMMIT POINT CAREFULlY!
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQftp multiple messages
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.