Thank you.
I agree and will work with developers on it.
Irina Yagudayeva
Insurance Services Office
Infrastructure Engineering
(201)469-3648
From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On
Behalf Of Brumbaugh Glen
Sent: Tuesday, January 15, 2013 11:06 PM
To: MQSERIES-0lvw86wZMd9k/***@public.gmane.orgAC.AT
Subject: Re: Queue Alias with the wrong Target Q Name
Irina,
How do you know the application did not receive a non-zero MQRC code?
It's been a while since I was writing CICS COBOL MQ programs, but I
don't think the essence has changed. Just as a COBOL program will not
ABEND when a CICS or DB2 call fails, the program will not ABEND if a
call to MQ fails. The program will be returned a MQ Reason Code (MQRC)
and a Completion Code (MQCC). Responsibility for checking these codes
lays with the program. The MQCC may have three values: OK
(MQCC=MQCC_OK=0), Warning (MQCC=MQCC_WARNING=1; partially successful),
and Failed (MQCC=MQCC_FAILED=2). Anything other than MQCC_OK must be
handled by the application!
Note that an MQRC_NONE (MQRC=0) is also returned. Applications should
check MQCC for success, not MQRC.
Regards,
Glen Brumbaugh
E-mail: ***@yahoo.com
On Jan 15, 2013, at 3:36 PM, "Yagudayeva, Irina" <IYagudayeva-v/C+***@public.gmane.org>
wrote:
Thank you. I will check it out.
Sent from my iPhone
On Jan 15, 2013, at 6:13 PM, "Ram" <***@YAHOO.COM> wrote:
Make use of mq events - it will help to expose these kind of
issues.
Ram Ramanathan
On Jan 15, 2013, at 3:56 PM, Bob Juch <bob-zLFDEVZazB/***@public.gmane.org>
wrote:
Yes, the app had to get a non-zero response code from
the MQOPEN which would fail. The MQPUT would never get out of the API
because there's no valid queue handle. You should have a return code
from the API, not an MQ return code. Make sure that being tested after
the open.
Bob Juch
Juch Services LLC
On Tue, Jan 15, 2013 at 3:33 PM, Yagudayeva, Irina
<IYagudayeva-***@public.gmane.org> wrote:
Thank you Bob.
This is a CICS application. Thus, you're right. It
directly connects to that QMGR. It puts the message into Q Alias which
resolves to the Target Q defined. The Target queue varies - sometimes
it's a Local queue, the other time it's a Remote Queue. In this
particular case the Target Queue Name had a mistake. I would think that
the app had to get a -non-zero response code from Put and rollback the
uow. This did not happen.
Thank you.
Irina Yagudayeva
Insurance Services Office
Infrastructure Engineering
(201)469-3648 <tel:%28201%29469-3648>
From: MQSeries List
[mailto:MQSERIES-0lvw86wZMd9k/***@public.gmane.orgN.AC.AT] On Behalf Of Bob Juch
Sent: Tuesday, January 15, 2013 3:15 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Queue Alias with the wrong Target Q Name
Um, no, the message would never get to the queue
manager. The MQOPEN would fail.
This assumes the application is directly connected to
that queue manager, If the messages are coming from another queue
manager they'll wind up in the DLQ.
Bob Juch
Juch Services LLC
On Tue, Jan 15, 2013 at 2:35 PM, GINA MCCARTHY
<gimccarthy-***@public.gmane.org> wrote:
If the targq is not a valid queue, you should get a 2082
and the message(s) should go into the DLQ.
________________________________
From: MQSeries List
[mailto:MQSERIES-***@public.gmane.orgUNIWIEN.AC.AT] On Behalf Of Yagudayeva,
Irina
Sent: Tuesday, January 15, 2013 2:16 PM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.orgT
Subject: Queue Alias with the wrong Target Q Name
Hi,
One of our apps puts messages into Q Alias. We changing
the Target Queue sometimes due to some business reason.
We did not notice any errors until the customer
complained that they are not getting responses back. We found our
mistake (Q Alias definition had a typo in the Target Queue Name) and
fixed it. But I am wondering where did the messages go and why we did
not see any errors in the log? Is not application supposed to get
non-zero response code from the Put message to the Q Alias if the Target
Queue specified in this Q Alias does not exist?
Your responses to my question are greatly appreciated.
Thank you.
Irina Yagudayeva
Insurance Services Office
Infrastructure Engineering
(201)469-3648 <tel:%28201%29469-3648>
This email is intended for the recipient only. If you are not the
intended recipient please disregard, and do not use the information for
any purpose.
________________________________
List Archive
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your
List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/***@public.gmane.orgN.AC.AT?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription
are provided in the Listserv General Users Guide available at
http://www.lsoft.com <http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your
List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6fz1BpB9Gk+***@public.gmane.org.AC.AT?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription
are provided in the Listserv General Users Guide available at
http://www.lsoft.com <http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your
List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:***@LISTSERV.MEDUNIWIEN.AC.AT?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription
are provided in the Listserv General Users Guide available at
http://www.lsoft.com <http://www.lsoft.com/resources/manuals.asp>
This email is intended for the recipient only. If you are not the
intended recipient please disregard, and do not use the information for
any purpose.
________________________________
List Archive
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your
List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription
are provided in the Listserv General Users Guide available at
http://www.lsoft.com <http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your
List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-***@public.gmane.orgWIEN.AC.AT?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription
are provided in the Listserv General Users Guide available at
http://www.lsoft.com <http://www.lsoft.com/resources/manuals.asp>
________________________________
List Archive
<http://listserv.meduniwien.ac.at/archives/mqser-l.html> - Manage Your
List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription are
provided in the Listserv General Users Guide available at
http://www.lsoft.com <http://www.lsoft.com/resources/manuals.asp>
This email is intended for the recipient only. If you are not the
intended recipient please disregard, and do not use the information for
any purpose.
________________________________
List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:***@LISTSERV.MEDUNIWIEN.AC.AT?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>
This email is intended for the recipient only. If you are not the intended recipient please disregard, and do not use the information for any purpose.
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html