Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here





I haven't work with MQ before and needs to change a program, making use of the MQGET call. My problem is that we read messages from the queue before the full message has been posted on the queue. I did stumble on a document that try to explain how to use the GMAMSA option and GMLOGO option. I tried it seperately and simultaniusly, but not getting the desired results. With the GMAMSA option standalone, I switch this option on before the first read and immediately off after the first read, but then it doesn't read the messages from the queue at all. I played around with the different combinations but are not sure that the test data was correctly put on the queue everytime. I will appreciate it if I can get an example of a RPG program using the MQGET command with the GMAMSA option. "MQGMO_ALL_MESSAGES_AVAILABLE option". ps I am a RPG programmer for more than 20 years, but never worked with MQ before. Regards, Kalie du Toit.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close