MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

deleting a message from the queue uisng Message ID

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
mfuser
Banned


Joined: 01 Mar 2005
Posts: 105
Topics: 58

PostPosted: Fri Jul 14, 2006 6:07 am    Post subject: deleting a message from the queue uisng Message ID Reply with quote

Members,

I want to delete a message from the queue using Message ID .I want to know what would the call me like ? I am aware of the calls for other purposes but i am unable to get the correct call name .Can anybody help me in this requirement ?
Code:

MQCON   CONNECT TO A QUEUEE
MQDISC  DISCONNET FROM A QUEUE
MQOPEN  OPEN A QUEUE
MQCLOSE CLSOE A QUEUE
MQINQ   INQUIRE ABOUT A QUEUE
MQGET   GET MESSAGES FROM THE QUEUE
MQPUT   PUT MESSAGES INTO THE QUEUE
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Fri Jul 14, 2006 6:54 am    Post subject: Reply with quote

mfuser,

A MQGET will remove the messages as soon as it processed , unless you are just browsing the messages. Do you want to delete the uncommitted messages?

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mfuser
Banned


Joined: 01 Mar 2005
Posts: 105
Topics: 58

PostPosted: Fri Jul 14, 2006 7:07 am    Post subject: Reply with quote

Kolusu,

Is it that messages once read from a queue are deleted physically from the Queue( Read Destructive and memory is freed up which becomes avaiable for use) ? If so my purpose would be solved .What do you mean by 'Uncomitted Message' ? One more basic question is there might be many messages in the queue ,but when i start reading messages in a loop by a program what would be the sequence in which messages will be retrived , will it be by System stored id / some information ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Fri Jul 14, 2006 7:20 am    Post subject: Reply with quote

Mfuser,

Spend some time going thru manuals rather than relying on helpboards for everything. You will learn nothing as long as you are looking for some one to help you. Most of the information you ask can be found easily in a application programming guide. You have been guided several times but ....

Read this primer for an understanding of MQ Series

http://www.redbooks.ibm.com/redpapers/pdfs/redp0021.pdf

And read this manual for an understanding how to put/get messages from the queue.Read chapters 9 and 10.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CSQZAL02/CCONTENTS?DT=19981130161828

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group