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 IBM MQ Support » How to transfer a file(char or binary) by MQSeries like FTP?

Post new topic  Reply to topic
 How to transfer a file(char or binary) by MQSeries like FTP? « View previous topic :: View next topic » 
Author Message
Tomora
PostPosted: Thu Apr 04, 2002 1:54 am    Post subject: Reply with quote

Newbie

Joined: 03 Apr 2002
Posts: 2

Can MQ put a file in q on one side and get it from q on the other side? I use VB. That is possible? How to do?

Thanx.
Back to top
View user's profile Send private message
StefanSievert
PostPosted: Thu Apr 04, 2002 11:03 am    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Quote:

On 2002-04-04 01:54, Tomora wrote:
Can MQ put a file in q on one side and get it from q on the other side? I use VB. That is possible? How to do?

Thanx.

MQ doesn't care about the data you decide to be 'a message' so you can principally stick in what ever you want.
If you want to make your life a bit easier, you may want to consider using 'reference messages' for the purpose of transeferring files. Please look at the Application Programming Guide and Reference manuals and check out the IBM supplied sample programs amqsprma.c and amqsgrma.c for examples in the C language. It should work the same way in VB.
Hope that helps,
Stefan

_________________
Stefan Sievert
IBM Certified * MQSeries

[ This Message was edited by: StefanSievert on 2002-04-04 11:05 ]
Back to top
View user's profile Send private message
crojas
PostPosted: Thu Apr 04, 2002 11:07 am    Post subject: Reply with quote

Apprentice

Joined: 10 Mar 2002
Posts: 28

There is a MQSeries redbook called "MQSeries Version 5.1
Administration and Programming Examples" where you can find a program written in C.

You can implement it in VB easily.
Back to top
View user's profile Send private message
ShereneJames
PostPosted: Thu Apr 04, 2002 11:15 am    Post subject: Reply with quote

Newbie

Joined: 01 Apr 2002
Posts: 3

You can check IBM supplied sample programs for VB also.
Back to top
View user's profile Send private message Send e-mail
Tomora
PostPosted: Sun Apr 07, 2002 6:07 pm    Post subject: Reply with quote

Newbie

Joined: 03 Apr 2002
Posts: 2

Now, I know what to do. Thanks for the prompt reply from Stefan,crojas,Sherene

Tomora.
Back to top
View user's profile Send private message
mkhadse
PostPosted: Fri Apr 12, 2002 11:22 am    Post subject: Reply with quote

Acolyte

Joined: 31 Dec 1969
Posts: 73


There is a utity provided as a support pac from IBM. The name of the utility is mqftp. This utility can write and fetch messages to and from files and queues.

However this runs external to MQSeries and the actions have to be initiated manually.

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 » General IBM MQ Support » How to transfer a file(char or binary) by MQSeries like FTP?
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.