Hi Angie,

You could find the syntax information in the following manual:

MQSeries for AS/400
Application Programming Reference (RPG)
Version 4 Release 2
Document Number SC33-1957-00

you also will find the information in the online library in book  AMQMAK00 at

http://publib.boulder.ibm.com/pubs/html/as400/online/v4r3eng.htm

What you have to do is:

go cmdmqm
create a remote message queue (*RMT)
create a transmission queue (*LCL)
create a MQ Cannel to the remote system (*SDR)
start the channel

your program now should:

connect to the MQ Manager (MQCONN)
open the remote message queue (MQOPEN)
put all the records to the queue (MQPUT)
at the end close the queue
and disconnect from the MQ Manager

that's all.

hope it helps

CU
Michael Menzel


 > Hi all,
>
> I have a big problem. I must write a program in RPG IV to send a file with
> MQSeries to a remote target Dataqueue. I had read in red books, guides and
> references. But it's very compact and difficult. Because I don't know, how
> I can send a file into a Dataqueue. In the redbooks I have read, that I
> must use the MQ APIs (MQI). But I don't know, how I can find a
> documentation about this.
>
> Can anybody help me...??
>
> Angie

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.