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 » Channel start updates ALTDATE, ALTTIME

Post new topic  Reply to topic
 Channel start updates ALTDATE, ALTTIME « View previous topic :: View next topic » 
Author Message
Michael Dag
PostPosted: Mon Jul 05, 2004 7:33 am    Post subject: Channel start updates ALTDATE, ALTTIME Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Just curious I guess...
(on WMQ 5.3 CSD4... Windows,Solaris/AIX...)
I noticed a channel start updates the ALTDATE and ALTTIME of a transmission queue.

If thought it was when the channel is started, the trigger is set to NOTRIGGER by the channel initiator or something, but this is not the
case.

So if someone can enlighten me on why ALTDATE and ALTTIME of the transmission queue itself are changed.... thanks
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fjb_saper
PostPosted: Mon Jul 05, 2004 3:49 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I guess it really may depend on what status the channel was in before.
I noticed that for a stopped channel the queue is changed to NOTRIGGER.
So when you restart that channel you are actually altering the xmitq to set TRIGGER.
At the same time you change as well the getinhibit argument.

Maybe this gives an indication.

Now does it do that as well if the channel was simply inactive ?
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Tue Jul 06, 2004 6:29 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

my original guess was right, only didn't notice a difference as all channels were inactive... thanks for the hint...

further investigation shows:

(when a transmission queue is set to use triggering)
When the channel is triggered the GET goes to DISABLED and triggering to NOTRIGGER as long as the channel runs.
When the channel goes to inactive it goes back to GET ENABLED and triggering to TRIGGER
When the channel is stopped GET and triggering remain at DISABLED and NOTRIGGER
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PeterPotkay
PostPosted: Tue Jul 06, 2004 10:11 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Quote:

When the channel is triggered the GET goes to DISABLED and triggering to NOTRIGGER as long as the channel runs.


If the XMIT queue became GET disabled when the channel started, how could the SNDR MCA pull a message out of the XMIT queue?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Jul 06, 2004 12:04 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

PeterPotkay wrote:

If the XMIT queue became GET disabled when the channel started, how could the SNDR MCA pull a message out of the XMIT queue?

Interesting! my guess is the MCA does not use normal MQ API calls and also this prevents something else getting messages instead of the MCA.

I could not have switched the PUT and GET around as that would 'disable' the transmission queue when the channel is running ...

I was not looking for this 'behaviour' I just stumbled onto it as I was investigating something else... curious as I am, I always want to know the famous details...

If anyone has any more insights they are more then welcome to share
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fjb_saper
PostPosted: Tue Jul 06, 2004 2:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Michael

in Unix (AIX -- MQ 5.3 CSD06)
channel running but queue depth (0)
Code:
DESCR(WebSphere MQ Default Local Queue)                   
PROCESS( )                              BOQNAME( )         
INITQ(SYSTEM.CHANNEL.INITQ)             TRIGDATA( )       
CLUSTER( )                              CLUSNL( )         
QUEUE(TO.CMSP)                          CRDATE(2004-06-01)
CRTIME(18.16.17)                        ALTDATE(2004-07-06)
ALTTIME(08.09.50)                       GET(ENABLED)       
PUT(ENABLED)                            DEFPRTY(0)         
DEFPSIST(YES)                           MAXDEPTH(5000)     
MAXMSGL(4194304)                        BOTHRESH(0)       
SHARE                                   DEFSOPT(SHARED)   
HARDENBO                                MSGDLVSQ(PRIORITY)
RETINTVL(999999999)                     USAGE(XMITQ)       
TRIGGER                                 TRIGTYPE(FIRST)   
TRIGDPTH(1)                             TRIGMPRI(0)       
QDEPTHHI(80)                            QDEPTHLO(20)       
QDPMAXEV(ENABLED)                       QDPHIEV(DISABLED) 
QDPLOEV(DISABLED)                       QSVCINT(999999999)
QSVCIEV(NONE)                           DISTL(YES)         
NPMCLASS(NORMAL)                        DEFTYPE(PREDEFINED)
TYPE(QLOCAL)                            SCOPE(QMGR)       
DEFBIND(OPEN)                           IPPROCS(1)         
OPPROCS(1)                              CURDEPTH(0)       

I do not think I ever saw a get(disabled) while the channel was running...
F.J.
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Tue Jul 06, 2004 4:51 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Quote:

my guess is the MCA does not use normal MQ API calls


The MCAs are nothing more than well written regular old fashioned programs that use the MQ API. Paul Clarke, the IBMer who wrote the code, likes to say they were the first MQ programs written.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Wed Jul 07, 2004 1:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Sorry... GET is only DISABLED when the channel is in STOPPED state ...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Channel start updates ALTDATE, ALTTIME
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.