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 » IBM MQ API Support » MQSERIES on AS/400 - Unique MSG identifier in MQPUT & MQ

Post new topic  Reply to topic
 MQSERIES on AS/400 - Unique MSG identifier in MQPUT & MQ « View previous topic :: View next topic » 
Author Message
Mahrokh
PostPosted: Tue Jan 29, 2008 8:01 am    Post subject: MQSERIES on AS/400 - Unique MSG identifier in MQPUT & MQ Reply with quote

Newbie

Joined: 29 Jan 2008
Posts: 1

MQSeries on AS/400.

We used the RPG Reply queue sample program to send(MQPUT) and receive(MQGET) messages. We have a queue for send and one for receive. I was told we need to have a unique message identifier so we can get right msg from the queue. I need to know how to set up a unique msg id that can be used in put and also in get msgs. Does anyone know how to do this?
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jan 29, 2008 8:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

This is not an "MQ Everyplace" question. A Moderator will move this to an appropriate forum.

You need to set the MQPMO so that it will generate a new message id for you.

There is discussion on how to do this in the Application Programming Guide, available in the MQ Info Center.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 29, 2008 8:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Moved to API
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » IBM MQ API Support » MQSERIES on AS/400 - Unique MSG identifier in MQPUT & MQ
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.