Question

  Asked: Feb 13 2008   3:50 PM GMT
  Asked by: Andy Mansell


Writing an MQ message


MQ, RPG, CLP

I have to write a program that sends some data from MQ.

I will read a data file process it, and then instead of populating a file and FTP'ing the file to a server. I need to send the data via MQ.

How do I write the message to MQ, how do I set up the message length etc.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0



MQ provides APIs to send messages, with a parameter of the API call being the message length. I would suggest reviewing the MQ Information Center. Here you can find i5/OS specific information such as the iSeries Application Programming Reference in addition to general MQ support.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register