ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to release the messages from Transmission Queue?

Post new topic  Reply to topic Goto page Previous  1, 2
 How to release the messages from Transmission Queue? « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Mon Nov 02, 2009 3:27 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7723

Sam Uppu wrote:
If the queue on remote site is non-persistent and DLQ(on remote qmgr) is not defined -> you will get 2053

If the queue on remote site is persistent, full and there is no DLQ defined, the channel will go into RETRY state and msgs will stuck in the XMITQ. The link provided by Vitor says this.


That link does not say anything like that at all.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Nov 02, 2009 9:40 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Sam Uppu wrote:
If the queue on remote site is non-persistent...

If the queue on remote site is persistent...


I do hope you are not one of those people who believes that a message assumes the persistency setting of the queue on which it lands
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Nov 03, 2009 4:56 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

bruce2359 wrote:
Reread Jeevan's post:
Quote:
If channel are not being used for some time(disconnect interval period) they go into inactive state.

A channel goes into stopped state because of channel errors or operator command.

Was the channel status stopped or inactive?

Agree.
Pls, look at this. This is the IMP to understand the state of the CHANNEL and cause of it. Pls check the LOGS of the Queue Manager. OR if any FDC being generated there.
*Pls try to PING sender channel, if QMgr sends and receives a msg back then your settings on the sender and receiver channel should be fine.
*Pls try to RESET the channel, as channel does not START when there is mismatch about the msg seq. no. of the next msg to send.

*Check the definition of XMITQ, as :

DEFINE QLOCAL(A) USAGE(XMITQ) INITQ(SYSTEM.CHANNEL.INITQ)

DEFINE CHANNEL(QM1_QM2) CHLTYPE(SDR) +
XMITQ(A) +
CONNAME('connname(1234)') +
TRPTYPE(TCP)


Thanks
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Sam Uppu
PostPosted: Tue Nov 03, 2009 7:18 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

bruce2359 wrote:
Not to be picky, but queues are neither persistenr nor non-persistent. Persistence is a message attribute.


Sorry. I should say persistent msg and non persistent msg instead of persistent queue/ non persistent queue.

Thanks for the correction.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Nov 03, 2009 7:21 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

PeterPotkay wrote:
Sam Uppu wrote:
If the queue on remote site is non-persistent and DLQ(on remote qmgr) is not defined -> you will get 2053

If the queue on remote site is persistent, full and there is no DLQ defined, the channel will go into RETRY state and msgs will stuck in the XMITQ. The link provided by Vitor says this.


That link does not say anything like that at all.


Peter, This was tested by IBM in one of our PMRs with IBM and they came up with the same link what Vitor specified in his post. Infact that link is not talking anything about persistent/ non persistent msgs.

Thanks.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Nov 03, 2009 7:45 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

I should re-phrase something like this:

1. If the msg is non persistent:
remote queue is full and there is no remote DLQ -> you will get 2053

2. If the msg is persistent:
remote queue is full and there is no DLQ, the sender channel will go into RETRY mode and msgs will be in XMIT queue.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Nov 03, 2009 7:56 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Sam Uppu wrote:
1. If the msg is non persistent:
remote queue is full and there is no remote DLQ -> you will get 2053


Not if NPMSPEED is set to FAST you won't...

Sam Uppu wrote:
2. If the msg is persistent:
remote queue is full and there is no DLQ, the sender channel will go into RETRY mode and msgs will be in XMIT queue.


Not according to THIS (see item 3)
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 03, 2009 8:22 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

Quote:
1. If the msg is non persistent:
remote queue is full and there is no remote DLQ -> you will get 2053

This isn't exactly accurate.

If my app opened a qr definition, my put will succeed - reasoncode none.

The downstream mca will discover that the destination queue is full, the dlq is full or does not exist.

If I have asked for exception report messages, I might get one that will tell me that the message couldn't be delivered - and why.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Nov 03, 2009 9:11 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

bruce2359 wrote:
Quote:
1. If the msg is non persistent:
remote queue is full and there is no remote DLQ -> you will get 2053

This isn't exactly accurate.

If my app opened a qr definition, my put will succeed - reasoncode none.

The downstream mca will discover that the destination queue is full, the dlq is full or does not exist.

If I have asked for exception report messages, I might get one that will tell me that the message couldn't be delivered - and why.


I didn't really validate when IBM mentioned this as I was not sure of using persistent/ non persistent options inside the client code. I believed in IBM what they said.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 03, 2009 11:09 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

A server- or client- app that opens a qr will get a reasoncode of none for the successful put of a msg to the xmit queue on the server platform.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » How to release the messages from Transmission Queue?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.