Author |
Message
|
Nizam |
Posted: Thu Sep 09, 2004 7:56 pm Post subject: messages end up in dead letter queue |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
Hi,
I have a CICS Bridge set up on z/os with mq 5.3 that communicates with mq 5.3 on windows 2000 server.
My response messages from the mainframe are ending up on the mainframe's dead letter queue when the channel is in retry mode. I have set the disconnect interval as 0 but the channel goes to retry every 10 minutes or so.
1. what could be the problem with my channel. Is there any other attribute that i need to set?
2. why the messages end up in dead letter queue. I was expecting them to remain in transmission queue?
Thanks in advance
Nyzam |
|
Back to top |
|
 |
Nigelg |
Posted: Fri Sep 10, 2004 3:06 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
What is the reason code in the DLH? |
|
Back to top |
|
 |
Mallik |
Posted: Fri Sep 10, 2004 9:25 am Post subject: |
|
|
Acolyte
Joined: 29 Feb 2004 Posts: 53
|
SOme of the reasons for the channel to go to retry state are
1. When the channel sync file is corrupted (Channel status shows indoubt)
2. Remote QMGR is down ( Channel starts automatically once the remote QMGR is up, based on the retry interval attributes)
In any case messages should be sitting on the XMITQ as you said.
Setting the DISCINT value to '0' doesn't mean that channel should not go to retry state. Check the channel status to see if it is indoubt.
A channel retries to establish a connection based on the retry interval attributes(short & long).
Again as Nigelg said, DLQ header should tell the reason why the messages are going DLQ. |
|
Back to top |
|
 |
Nizam |
Posted: Fri Sep 10, 2004 10:21 am Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
I reset the msg sequence number on sender and receiver channels and now it works fine...i wish i had the reason code in DLH...I did a get using a cobol program and all i see is DLH, then some special characters and the message....
thanks for ur inputs guys..... |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 10, 2004 10:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Nizam wrote: |
I reset the msg sequence number on sender and receiver channels and now it works fine...i wish i had the reason code in DLH...I did a get using a cobol program and all i see is DLH, then some special characters and the message....
thanks for ur inputs guys..... |
You'll have to count bits and extract the reason code from the DLH you see (those special characters).
You can do this using the definition of the DLH that is in the Application Programming Reference. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri Sep 10, 2004 11:22 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The MO71 Support Pack does this for you when you browse a queue with mesages that have DLHs. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Sep 10, 2004 1:49 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
MQ Visual Edit / Browse will nicely show you the reason code / reason text of messages in the dead letter queue.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|