Author |
Message
|
Tomora |
Posted: Thu Apr 04, 2002 1:54 am Post subject: |
|
|
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 |
|
 |
StefanSievert |
Posted: Thu Apr 04, 2002 11:03 am Post subject: |
|
|
 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 |
|
 |
crojas |
Posted: Thu Apr 04, 2002 11:07 am Post subject: |
|
|
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 |
|
 |
ShereneJames |
Posted: Thu Apr 04, 2002 11:15 am Post subject: |
|
|
Newbie
Joined: 01 Apr 2002 Posts: 3
|
You can check IBM supplied sample programs for VB also. |
|
Back to top |
|
 |
Tomora |
Posted: Sun Apr 07, 2002 6:07 pm Post subject: |
|
|
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 |
|
 |
mkhadse |
Posted: Fri Apr 12, 2002 11:22 am Post subject: |
|
|
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 |
|
 |
|