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 » IBM MQ Installation/Configuration Support » how to put Queue(s) on other Storageclasses (Z/OS)

Post new topic  Reply to topic
 how to put Queue(s) on other Storageclasses (Z/OS) « View previous topic :: View next topic » 
Author Message
Northsider
PostPosted: Fri Sep 15, 2006 8:04 am    Post subject: how to put Queue(s) on other Storageclasses (Z/OS) Reply with quote

Novice

Joined: 09 Mar 2005
Posts: 16

Hi all,

Im looking and trying to understand a good scenario to move Queue's (with messages in them) who are on PSID01, to an other Pageset. (To prevent an application to fully load the systempageset(psid01).

As you cant move queues which have messages inside them I was thinking to stop the Queue Manager, then do a SCOPY (offline extract off the messages to a dataset.) and then Empty the Queue (still offline). However Im incapable of doing an empty of the Queue in batch?.

Still I dont want to start the Queue Manager, then delete all the messages and then do a quick change of storageclass (on an other pageset). It seems to me that when you do a copy (online) of scopy(offline) and then empty/clean the queue, there could be a left persitent message deleted, which is not backupped by te scopy/copy function.

So I hoped if you guys/girls had any ideas how to handle?
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Sep 15, 2006 9:24 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Put disable the queue.
SCOPY the messages
Use ISPF the clear the messages
Change the pageset to the one you need.
Restart the queue manager (not sure if you really need to but...)
PUT enable the queue and reload.

Should work I believe. Good luck
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Sep 16, 2006 7:12 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

We just did this a little while ago. QueueA needed to move from Storage Class 1 to Storage Class 2.

Using MO71 is took less than a minute.

Create QueueA.Temp.
Use MO71 to move all the messages from QueueA to QueueA.Temp
Change the Storage Class of QueueA to Storage Class 2.
Move the messages from QueueA.Temp back to QueueA.
Delete QueueA.Temp.

Issue Display Usage at the QM level to verify your page sets reflect the data moving from one storage class to the other other. I assume your 2 storage classes are mapped to different page sets, otherwise what's the point.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Northsider
PostPosted: Mon Sep 18, 2006 2:01 am    Post subject: Reply with quote

Novice

Joined: 09 Mar 2005
Posts: 16

Thanx for the advice.

Im going to try it, I made a little scenario to do it online (with the help of MQMPanels) *we dont have MO71 installed.

The steps;
(1) Change the status of "Put enabled" & "Get enabled" to status "N". (in MQMPanel)

(2) Make a Temp-STGClass. (in MQMPanel)

(3) Make Temp-Queue(s). (in MQMPanel) Those Temp-Queue(s) should refer to the TEMP-STGClass.

(4) With option "Manage Queue." Put All Message(s) from the original Queue(s) to the Temp-Queue(s).

(5) Change the original STGClass (with all empty-Queues) so that it now uses an other PSID.

(6) Load the Messages from the Temp-Queue(s) to the Originele-Queue(s).

(7) Change the status of "Put enabled" & "Get enabled" to status "Y". (in MQMPanel)

Allthough I still dont know why you couldn't just scopy the messages offline, and load them offline to MQ?. (the scopy works, but to load offline messages to MQ, doesnt work?) MQRC=2059.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Sep 18, 2006 2:33 am    Post subject: Reply with quote

Grand High Poobah

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

Points 4 and 6 will fail.
In order to put or get you have to have the corresponding operation enabled...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Northsider
PostPosted: Mon Sep 18, 2006 3:36 am    Post subject: Reply with quote

Novice

Joined: 09 Mar 2005
Posts: 16

Yep, my mistake.. Thanks!
Back to top
View user's profile Send private message
Northsider
PostPosted: Tue Sep 19, 2006 12:34 am    Post subject: Reply with quote

Novice

Joined: 09 Mar 2005
Posts: 16

Thanx allready for the good advice.

The scenario described above is mainly to change one or a couple of queues. Im now wondering how you guys handle a change to do 100 queues or more. (with messages inside them).

This because I have to change more then 300 queues (with messages) to a different STGCLASS. I could do it; one by one. But thats gonna be hell of a job.

Thanx allready,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 19, 2006 3:02 am    Post subject: Reply with quote

Grand High Poobah

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

Use the MF utilities and script it (JCL). Run the job. Voila 300 queues done.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » how to put Queue(s) on other Storageclasses (Z/OS)
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.