Re: Application using BROWSE missing messages
Sridhar, why don't you just open an issue with IBM and ask for more detail? Or describe to them what you have and askif the apar you found fits. I grant you that this isn't exactly what you asked for, but it is one approach -- My best, Rebecca Rebecca Bullock Computer Sciences Corporation Educational Testing Service Account Princeton, NJ 08541 e-mail: [EMAIL PROTECTED][EMAIL PROTECTED] -Original Message-From: Sridhar Ramasubramonian [mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 17, 2002 10:56 AMTo: [EMAIL PROTECTED]Subject: Application using BROWSE missing messages hi all... I am looking for some help to solve a particular problem that we are facing here. The problem is explained below. We have a MQ based application written in C++ running in CICS and reading messages from MQ. The overall functioning logic of the application is as explained below. ||--( 1 ) Input queue opened for Browse with options and read in a LOOP till messages are over. ||MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT+MQOO_INPUT_SHARED | |and wait interval as 0. | | | |( 2 ) Use message (May have syncpoint calls in this process) | | | |( 3 ) IF DB deadlock of -911 THEN | |is got then ROLLBACK everything uncommitted, and repeat step 1 onwards with | |the following options MQGMO_WAIT+MQGMO_FAIL_IF_QUIESCING+MQGMO_BROWSE_FIRST | |Change here is that the queue is again reopened fresh with a Browse_First option as shown above. | |ELSE | |Remove the message under syncpoint control with a destructive Get with the | |following options, MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_MSG_UNDER_CURSOR | |+ MQGMO_SYNCPOINT | | ENDIF | | | |--- ( 4 ) Perform a SYNCPOINT in CICS | | ( 5 ) Out of above loop when no more entries left in queue on error code 2033 | |( 6 ) Infinite wait on MQ Read by using the below options , |MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT and MQWI_UNLIMITED |Transaction is waiting on MQ to alert and wake this guy up when a message arrives. | |--- ( 7 ) Message arrives in queue and from this point step 1 onwards is repeated PROBLEM In the above logic that we are using we are using we have noticed that some-times a queue has 1 or 2 messages and the transaction in CICS is in GETWAIT waiting for messages to arrive. The 2 messages which get left out are never picked up where as further messages which arrive in that input queue are picked and processed. Anybody facing a problem like this or know of something in this regard. Also i see a PTF at the IBM site closed recently with details as below APAR CLOSEDATEyy/mm/dd PTF(s) Fixing APARif PTF in error HIPER? Description/comments PQ61246 02/08/15 UQ68768 MQGET WITH WAIT ISN'T POSTED ALTHOUGH THE QUEUE HAS A MESSAGE. Any IDEA as to how to get the details for this.. or anybody out there who might have actually have raised this particular problem. Any help would be highly appreciated. Thanks and regards Sridhar R ** This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance.
Re: Application using BROWSE missing messages
hi ronald.. This is not the case as i have all my transactions fully committed and in their sleep states. I also verified the number of threads and processes holding this queue and did not find any except the one reading and waiting on this. Somehow these 1 or 2 messages stays in the queue. Regards Sridhar -Original Message- From: Ronald Weinger [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 17. September 2002 17:15 To: [EMAIL PROTECTED] Subject: Re: Application using BROWSE missing messages messages could be recorded on the message count but not committed if there is syncpoint processing Sridhar Ramasubramonian [EMAIL PROTECTED] @AKH-Wien.AC.AT on 09/17/2002 10:56:29 AM Please respond to MQSeries List [EMAIL PROTECTED] Sent by:MQSeries List [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Application using BROWSE missing messages hi all... I am looking for some help to solve a particular problem that we are facing here. The problem is explained below. We have a MQ based application written in C++ running in CICS and reading messages from MQ. The overall functioning logic of the application is as explained below. ||--( 1 ) Input queue opened for Browse with options and read in a LOOP till messages are over. || MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT+MQOO_INPUT_SHARED | | and wait interval as 0. | | | | ( 2 ) Use message (May have syncpoint calls in this process) | | | | ( 3 ) IF DB deadlock of -911 THEN | | is got then ROLLBACK everything uncommitted, and repeat step 1 onwards with | | the following options MQGMO_WAIT+MQGMO_FAIL_IF_QUIESCING+MQGMO_BROWSE_FIRST | | Change here is that the queue is again reopened fresh with a Browse_First option as shown above. | | ELSE | | Remove the message under syncpoint control with a destructive Get with the | | following options, MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_MSG_UNDER_CURSOR | | + MQGMO_SYNCPOINT | | ENDIF | | | |--- ( 4 ) Perform a SYNCPOINT in CICS | | ( 5 ) Out of above loop when no more entries left in queue on error code 2033 | | ( 6 ) Infinite wait on MQ Read by using the below options , | MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT and MQWI_UNLIMITED | Transaction is waiting on MQ to alert and wake this guy up when a message arrives. | |--- ( 7 ) Message arrives in queue and from this point step 1 onwards is repeated PROBLEM In the above logic that we are using we are using we have noticed that some-times a queue has 1 or 2 messages and the transaction in CICS is in GETWAIT waiting for messages to arrive. The 2 messages which get left out are never picked up where as further messages which arrive in that input queue are picked and processed. Anybody facing a problem like this or know of something in this regard. Also i see a PTF at the IBM site closed recently with details as below |---+---+---+---+---+---| | APAR | CLOSE| PTF(s) | Fixing | HIPER? | Descripti| | | DATE | | APAR | | on/commen| | | yy/mm/dd | | if PTF in| | ts | | | | | error| | | |---+---+---+---+---+---| | PQ61246 | 02/08/15 | UQ68768 | | | MQGET| | | | | | | WITH WAIT| | | | | | | ISN'T| | | | | | | POSTED | | | | | | | ALTHOUGH | | | | | | | THE QUEUE| | | | | | | HAS A| | | | | | | MESSAGE. | |---+---+---+---+---+---| Any IDEA as to how to get the details for this.. or anybody out there who might have actually have raised this particular problem. Any help would be highly appreciated. Thanks and regards Sridhar R The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh
Re: Application using BROWSE missing messages
Sridhar Messages not commited by the sender apear on the message count ...but you will not be able to process them. Adrian ait research - Original Message - From: Sridhar Ramasubramonian To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 4:56 PM Subject: Application using BROWSE missing messages hi all... I am looking for some help to solve a particular problem that we are facing here. The problem is explained below. We have a MQ based application written in C++ running in CICS and reading messages from MQ. The overall functioning logic of the application is as explained below. ||--( 1 ) Input queue opened for Browse with options and read in a LOOP till messages are over. ||MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT+MQOO_INPUT_SHARED | |and wait interval as 0. | | | |( 2 ) Use message (May have syncpoint calls in this process) | | | |( 3 ) IF DB deadlock of -911 THEN | |is got then ROLLBACK everything uncommitted, and repeat step 1 onwards with | |the following options MQGMO_WAIT+MQGMO_FAIL_IF_QUIESCING+MQGMO_BROWSE_FIRST | |Change here is that the queue is again reopened fresh with a Browse_First option as shown above. | |ELSE | |Remove the message under syncpoint control with a destructive Get with the | |following options, MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_MSG_UNDER_CURSOR | |+ MQGMO_SYNCPOINT | | ENDIF | | | |--- ( 4 ) Perform a SYNCPOINT in CICS | | ( 5 ) Out of above loop when no more entries left in queue on error code 2033 | |( 6 ) Infinite wait on MQ Read by using the below options , |MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT and MQWI_UNLIMITED |Transaction is waiting on MQ to alert and wake this guy up when a message arrives. | |--- ( 7 ) Message arrives in queue and from this point step 1 onwards is repeated PROBLEM In the above logic that we are using we are using we have noticed that some-times a queue has 1 or 2 messages and the transaction in CICS is in GETWAIT waiting for messages to arrive. The 2 messages which get left out are never picked up where as further messages which arrive in that input queue are picked and processed. Anybody facing a problem like this or know of something in this regard. Also i see a PTF at the IBM site closed recently with details as below APAR CLOSEDATEyy/mm/dd PTF(s) Fixing APARif PTF in error HIPER? Description/comments PQ61246 02/08/15 UQ68768 MQGET WITH WAIT ISN'T POSTED ALTHOUGH THE QUEUE HAS A MESSAGE. Any IDEA as to how to get the details for this.. or anybody out there who might have actually have raised this particular problem. Any help would be highly appreciated. Thanks and regards Sridhar R
Re: Application using BROWSE missing messages
hi adrian.. I have a MVS Mainview monitor here and through that i have verified at the point i got the error, that there were not uncommitted records in this queue. Is there any other thing that i am missing. Regards Sridhar -Original Message-From: Adrian König [mailto:[EMAIL PROTECTED]]Sent: Dienstag, 17. September 2002 17:52To: [EMAIL PROTECTED]Subject: Re: Application using BROWSE missing messages Sridhar Messages not commited by the sender apear on the message count ...but you will not be able to process them. Adrian ait research - Original Message - From: Sridhar Ramasubramonian To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 4:56 PM Subject: Application using BROWSE missing messages hi all... I am looking for some help to solve a particular problem that we are facing here. The problem is explained below. We have a MQ based application written in C++ running in CICS and reading messages from MQ. The overall functioning logic of the application is as explained below. ||--( 1 ) Input queue opened for Browse with options and read in a LOOP till messages are over. ||MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT+MQOO_INPUT_SHARED | |and wait interval as 0. | | | |( 2 ) Use message (May have syncpoint calls in this process) | | | |( 3 ) IF DB deadlock of -911 THEN | |is got then ROLLBACK everything uncommitted, and repeat step 1 onwards with | |the following options MQGMO_WAIT+MQGMO_FAIL_IF_QUIESCING+MQGMO_BROWSE_FIRST | |Change here is that the queue is again reopened fresh with a Browse_First option as shown above. | |ELSE | |Remove the message under syncpoint control with a destructive Get with the | |following options, MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_MSG_UNDER_CURSOR | |+ MQGMO_SYNCPOINT | | ENDIF | | | |--- ( 4 ) Perform a SYNCPOINT in CICS | | ( 5 ) Out of above loop when no more entries left in queue on error code 2033 | |( 6 ) Infinite wait on MQ Read by using the below options , |MQGMO_WAIT + MQGMO_FAIL_IF_QUIESCING + MQGMO_BROWSE_NEXT and MQWI_UNLIMITED |Transaction is waiting on MQ to alert and wake this guy up when a message arrives. | |--- ( 7 ) Message arrives in queue and from this point step 1 onwards is repeated PROBLEM In the above logic that we are using we are using we have noticed that some-times a queue has 1 or 2 messages and the transaction in CICS is in GETWAIT waiting for messages to arrive. The 2 messages which get left out are never picked up where as further messages which arrive in that input queue are picked and processed. Anybody facing a problem like this or know of something in this regard. Also i see a PTF at the IBM site closed recently with details as below APAR CLOSEDATEyy/mm/dd PTF(s) Fixing APARif PTF in error HIPER? Description/comments PQ61246 02/08/15 UQ68768 MQGET WITH WAIT ISN'T POSTED ALTHOUGH THE QUEUE HAS A MESSAGE. Any IDEA as to how to get the details for this.. or anybody out there who might have actually have raised this particular problem. Any help would be highly appreciated. Thanks and regards Sridhar R