Re: Strange problem in MQSeries

2003-10-27 Thread mikhail malamud
Make sure you commit if you are doing gets under a syncpoint
- Original Message -
From: "Riyaz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 24, 2003 10:42 AM
Subject: Re: Strange problem in MQSeries


| If the messages had expired I would believe the MQINQ would return
| zero(or a number less than original number of messages) as the number
| of messages available (please correct me if I am wrong).  However
after
| any number of MQGETs MQINQ returns the same number of messages
| available.
|
|
|  --- Nick Dilauro <[EMAIL PROTECTED]> wrote: > Sounds like the messages
| have expired.  They would count on the MQINQ
| > but
| > would disappear after a MQGET.  What does the MQINQ return after the
| > MQGET?
| >
| > Nick
| >
| > -Original Message-
| > From: Riyaz [mailto:[EMAIL PROTECTED]
| > Sent: Thursday, October 23, 2003 2:37 AM
| > To: [EMAIL PROTECTED]
| > Subject: Strange problem in MQSeries
| >
| > Hi,
| >
| > The problem -
| > Some messages were added to few queues in a Q manager using a COBOL
| > program.
| > The number of messages that were added was verified by issuing a
| > MQINQ
| > call and checking the message count.  The same number of messages
| > could
| > be fetched using MQGET.
| >
| > However after some time (say overnight), when an MQINQ is issued,
the
| > message count returned is proper and corresponds to the number of
| > messages added.  However if an MQGET is issued on the same queue
| > immediately after MQINQ, no messages are fetched and the MQGET fails
| > with 2033 (i.e. no messages available)!   Simply put - the MQINQ
| > returns a proper message count but the MQGET says that no messages
| > are
| > available.
| >
| > This behaviour was not exhibited earlier.
| >
| > The setup is MQSeries on OS/390.
| >
| > What could be reason for this?  Could it be because of any changes
in
| > the way messages are stored (something to do with the storage
classes
| > being changed)?
| >
| > Thanks in advance,
| >
| > Riyaz.
| >
| >
|

| > Want to chat instantly with your online friends?  Get the FREE
Yahoo!
| > Messenger http://mail.messenger.yahoo.co.uk
| >
| > 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
| >
| > 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
|
|

| Want to chat instantly with your online friends?  Get the FREE Yahoo!
| Messenger http://mail.messenger.yahoo.co.uk
|
| 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

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


Re: Strange problem in MQSeries

2003-10-27 Thread Razi, Ruzi
Another reason might be... As put and get is done under syncpoint, which is
default in OS/390, if you are not COMMITting right after MQPUTs these
uncommitted messages will contribute to the current-depth. Therefore, the
MQINQ will show the correct number of messages on the queue. However, you
cannot MQGET them until you have committed them. 

Regards,

Ruzi  


 --- Nick Dilauro <[EMAIL PROTECTED]> wrote: > Sounds like the messages
have expired.  They would count on the MQINQ
> but
> would disappear after a MQGET.  What does the MQINQ return after the
> MQGET?
>
> Nick
>
> -Original Message-
> From: Riyaz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 2:37 AM
> To: [EMAIL PROTECTED]
> Subject: Strange problem in MQSeries
>
> Hi,
>
> The problem -
> Some messages were added to few queues in a Q manager using a COBOL
> program.
> The number of messages that were added was verified by issuing a
> MQINQ
> call and checking the message count.  The same number of messages
> could
> be fetched using MQGET.
>
> However after some time (say overnight), when an MQINQ is issued, the
> message count returned is proper and corresponds to the number of
> messages added.  However if an MQGET is issued on the same queue
> immediately after MQINQ, no messages are fetched and the MQGET fails
> with 2033 (i.e. no messages available)!   Simply put - the MQINQ
> returns a proper message count but the MQGET says that no messages
> are
> available.
>
> This behaviour was not exhibited earlier.
>
> The setup is MQSeries on OS/390.
>
> What could be reason for this?  Could it be because of any changes in
> the way messages are stored (something to do with the storage classes
> being changed)?
>
> Thanks in advance,
>
> Riyaz.
>
>

> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
>
> 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
>
> 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


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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


This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.

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


Re: Strange problem in MQSeries

2003-10-24 Thread Riyaz
If the messages had expired I would believe the MQINQ would return
zero(or a number less than original number of messages) as the number
of messages available (please correct me if I am wrong).  However after
any number of MQGETs MQINQ returns the same number of messages
available.


 --- Nick Dilauro <[EMAIL PROTECTED]> wrote: > Sounds like the messages
have expired.  They would count on the MQINQ
> but
> would disappear after a MQGET.  What does the MQINQ return after the
> MQGET?
>
> Nick
>
> -Original Message-
> From: Riyaz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2003 2:37 AM
> To: [EMAIL PROTECTED]
> Subject: Strange problem in MQSeries
>
> Hi,
>
> The problem -
> Some messages were added to few queues in a Q manager using a COBOL
> program.
> The number of messages that were added was verified by issuing a
> MQINQ
> call and checking the message count.  The same number of messages
> could
> be fetched using MQGET.
>
> However after some time (say overnight), when an MQINQ is issued, the
> message count returned is proper and corresponds to the number of
> messages added.  However if an MQGET is issued on the same queue
> immediately after MQINQ, no messages are fetched and the MQGET fails
> with 2033 (i.e. no messages available)!   Simply put - the MQINQ
> returns a proper message count but the MQGET says that no messages
> are
> available.
>
> This behaviour was not exhibited earlier.
>
> The setup is MQSeries on OS/390.
>
> What could be reason for this?  Could it be because of any changes in
> the way messages are stored (something to do with the storage classes
> being changed)?
>
> Thanks in advance,
>
> Riyaz.
>
>

> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
>
> 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
>
> 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


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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


Re: Strange problem in MQSeries

2003-10-23 Thread Nick Dilauro
Sounds like the messages have expired.  They would count on the MQINQ but
would disappear after a MQGET.  What does the MQINQ return after the MQGET?

Nick

-Original Message-
From: Riyaz [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 2:37 AM
To: [EMAIL PROTECTED]
Subject: Strange problem in MQSeries

Hi,

The problem -
Some messages were added to few queues in a Q manager using a COBOL
program.
The number of messages that were added was verified by issuing a MQINQ
call and checking the message count.  The same number of messages could
be fetched using MQGET.

However after some time (say overnight), when an MQINQ is issued, the
message count returned is proper and corresponds to the number of
messages added.  However if an MQGET is issued on the same queue
immediately after MQINQ, no messages are fetched and the MQGET fails
with 2033 (i.e. no messages available)!   Simply put - the MQINQ
returns a proper message count but the MQGET says that no messages are
available.

This behaviour was not exhibited earlier.

The setup is MQSeries on OS/390.

What could be reason for this?  Could it be because of any changes in
the way messages are stored (something to do with the storage classes
being changed)?

Thanks in advance,

Riyaz.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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

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


Re: Strange problem in MQSeries

2003-10-23 Thread Emile Kearns
Could these message have expired?

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Riyaz
Sent: 23 October 2003 11:37 AM
To: [EMAIL PROTECTED]
Subject: Strange problem in MQSeries

Hi,

The problem -
Some messages were added to few queues in a Q manager using a COBOL
program.
The number of messages that were added was verified by issuing a MQINQ
call and checking the message count.  The same number of messages could
be fetched using MQGET.

However after some time (say overnight), when an MQINQ is issued, the
message count returned is proper and corresponds to the number of
messages added.  However if an MQGET is issued on the same queue
immediately after MQINQ, no messages are fetched and the MQGET fails
with 2033 (i.e. no messages available)!   Simply put - the MQINQ
returns a proper message count but the MQGET says that no messages are
available.

This behaviour was not exhibited earlier.

The setup is MQSeries on OS/390.

What could be reason for this?  Could it be because of any changes in
the way messages are stored (something to do with the storage classes
being changed)?

Thanks in advance,

Riyaz.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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

Any views expressed in this message are those of the individual sender, and T-Systems 
South Africa (Pty) Ltd accepts no liability therefore, except where the sender 
specifically states them to be those of T-Systems South Africa (Pty) Ltd.  Although 
this message has been scanned for the possible presence of computer viruses prior to 
despatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for any viruses 
or other material transmitted with, or as part of, 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-wien.ac.at/MQSeries.archive


Re: Strange problem in MQSeries

2003-10-23 Thread Bruce Giordano
Could the messages have expired?  In that case, they would show up in the
queue depth but wouldn't actually go away until you did the MQGET.
   - Bruce
Giordano



  Riyaz <[EMAIL PROTECTED]>
  To:  
   [EMAIL PROTECTED]
  Sent by: MQSeries List  cc:
  <[EMAIL PROTECTED]>   Subject:   Strange problem in 
MQSeries



  Thursday October 23, 2003 05:37 AM
  Please respond to MQSeries List






Hi,

The problem -
Some messages were added to few queues in a Q manager using a COBOL
program.
The number of messages that were added was verified by issuing a MQINQ
call and checking the message count.  The same number of messages could
be fetched using MQGET.

However after some time (say overnight), when an MQINQ is issued, the
message count returned is proper and corresponds to the number of
messages added.  However if an MQGET is issued on the same queue
immediately after MQINQ, no messages are fetched and the MQGET fails
with 2033 (i.e. no messages available)!   Simply put - the MQINQ
returns a proper message count but the MQGET says that no messages are
available.

This behaviour was not exhibited earlier.

The setup is MQSeries on OS/390.

What could be reason for this?  Could it be because of any changes in
the way messages are stored (something to do with the storage classes
being changed)?

Thanks in advance,

Riyaz.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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

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


Strange problem in MQSeries

2003-10-23 Thread Riyaz
Hi,

The problem -
Some messages were added to few queues in a Q manager using a COBOL
program.
The number of messages that were added was verified by issuing a MQINQ
call and checking the message count.  The same number of messages could
be fetched using MQGET.

However after some time (say overnight), when an MQINQ is issued, the
message count returned is proper and corresponds to the number of
messages added.  However if an MQGET is issued on the same queue
immediately after MQINQ, no messages are fetched and the MQGET fails
with 2033 (i.e. no messages available)!   Simply put - the MQINQ
returns a proper message count but the MQGET says that no messages are
available.

This behaviour was not exhibited earlier.

The setup is MQSeries on OS/390.

What could be reason for this?  Could it be because of any changes in
the way messages are stored (something to do with the storage classes
being changed)?

Thanks in advance,

Riyaz.


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

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