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 » Scratchpad object

Post new topic  Reply to topic
 Scratchpad object « View previous topic :: View next topic » 
Author Message
mgrabinski
PostPosted: Wed Jul 07, 2004 1:04 am    Post subject: Scratchpad object Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Starting from version 5, MQSeries uses a so called scratchpad object to store information concerning channel status. In earlier versions a synchronization queue was used for that purpose. I know the function of the scratchpad object, but I lack the basics - what is it? Is it a file? Where is it stored?

TIA
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
JasonE
PostPosted: Wed Jul 07, 2004 1:32 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Roughly stating, its a file for a channel which is not in an inactive state, which contains things like the sequence numbers sent and confirmed. It does contain more, but thats the basics. The files are the %CHLBATCH files.

Pre scratchpads, (roughtly) everytime we changed the sequence number we had to write a message to an MQ queue, which is overkill. Now we do a simple file update, and only put the data back into the syncq when the channel goes into certain states.

As I said this is not 100% accurate, but a good approximation...
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Wed Jul 07, 2004 2:30 am    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Thank you for your clarification. But it has prompted me to ask further questions

I assume that the scratchpad object is an internal one and that the MQ admin has nothing to do with it. Is it correct? If not, are there any hidden commands or tools to view and manage it? Is there anything to tune?

In what
Quote:
certain states
is there a need to synchronize the sratchpad obejct and the SYNC queue?

What happens to scratchpad objects if the SYNC queue is purged?
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
JasonE
PostPosted: Wed Jul 07, 2004 4:43 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Its purely internal and there should be no reason to know about the files and there are no commands to directly manipulate it. Being purely internal, there is nothing we would externalize in the way of tools either (assuming we had tools internally as well!).

The deal is (roughly) that all the time a channel status entry is allocated, then the scratchpad contains the sync info, and when the status entry is removed, that data has been hardened onto the syncq.

Purging syncq's...? Hmmm, I've no idea - Not something that springs to mind as a good idea though
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Scratchpad object
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.