Missing Messages..

2003-07-31 Thread Herd, Stewart
Any thoughts would be appreciated.

We have a situation where MQ/ESA V1.2 on system BSYS is communicating with
MQ for z/OS V5.3 on ESYS.  A program was run to get about 1000 messages from
BSYS and send them to a shared queue on ESYS. After the program ran, there
were 994 records in the ESYS queue, and 6 messages in the BSYS queue.  But
when we run a program to get those records on BSYS, it indicates that there
are no records in the queue on BSYS.  I don't have the MQRC yet.

But I wonder if there could be a unit of work problem (or other problems)
because we are running such an old version of MQ on BSYS and we are using
shared queues on ESYS.  If so, are there any compatibility APARs that could
fix this?

Stewart

Stewart Herd
Senior Software Engineer
Systems Engineering Services
ACS
NSC Campus
Loughmahon Technology Park
Cork
Ireland

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-wien.ac.at/MQSeries.archive


Recall: Missing Messages..

2003-07-31 Thread Herd, Stewart
The sender would like to recall the message, Missing Messages...

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-wien.ac.at/MQSeries.archive


Missing Messages

2003-07-31 Thread Herd, Stewart










Updated , disregard previous question due to incorrect
information 





Any thoughts would be appreciated.



We have a situation where WSMQ 5.3 on system BSYS is
communicating with WSMQ 5.3 on ESYS. A program was run to get about
1000 messages from BSYS and send them to a shared queue on ESYS. After the
program ran, there were 994 records in the ESYS queue, and 6 messages in the
BSYS queue. But when we run a program to get those records on BSYS, it
indicates that there are no records in the queue on BSYS. I don't

have the MQRC yet.



Details to bear in mind;



1. Message flow between BSYS and ESYS does not use WebsphereMQ
channels to transfer messages. 



2. All messages were put with Expiry Time = Unlimited



3. WSMQ on BSYS and ESYS are at the same level of 5.3



4. After the test, inquiry of the status of the source
and destination queues showed no uncommitted unit of work 



Stewart



Stewart Herd

Senior Software Engineer

Systems Engineering Services

ACS 

NSC Campus

Loughmahon Technology Park

Cork

Ireland
















Re: Missing Messages

2003-07-31 Thread Hill, Dave
Sounds Like you still have an active resource connected to that queue. I have seen 
this in the windows world but not on the 390 world. Worth a shot though.
Dave

-Original Message-
From: Herd, Stewart [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 8:51 AM
To: [EMAIL PROTECTED]
Subject: Missing Messages



 

Updated , disregard previous question due to incorrect information 

 

 

Any thoughts would be appreciated.

 

We have a situation where WSMQ 5.3 on system BSYS is communicating with WSMQ 5.3  on 
ESYS.  A program was run to get about 1000 messages from BSYS and send them to a 
shared queue on ESYS. After the program ran, there were 994 records in the ESYS queue, 
and 6 messages in the BSYS queue.  But when we run a program to get those records on 
BSYS, it indicates that there are no records in the queue on BSYS.  I don't

have the MQRC yet.

 

Details to bear in mind;

 

1. Message flow between BSYS and ESYS does not use WebsphereMQ channels to transfer 
messages. 

 

2. All messages were put with Expiry Time = Unlimited

 

3. WSMQ on BSYS and ESYS are at the same level of 5.3

 

4. After the test, inquiry of the status of the source and destination queues showed 
no uncommitted unit of work  

 

Stewart

 

Stewart Herd

Senior Software Engineer

Systems Engineering Services

ACS 

NSC Campus

Loughmahon Technology Park

Cork

Ireland

 

 

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-wien.ac.at/MQSeries.archive


Application using BROWSE missing messages

2002-09-17 Thread Sridhar Ramasubramonian



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

2002-09-17 Thread Bullock, Rebecca (CSC)



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

2002-09-17 Thread Sridhar Ramasubramonian

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

2002-09-17 Thread Adrian König



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

2002-09-17 Thread Sridhar Ramasubramonian



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