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 » Remove Page Set

Post new topic  Reply to topic
 Remove Page Set « View previous topic :: View next topic » 
Author Message
bay hoe san
PostPosted: Sun Aug 05, 2007 11:34 pm    Post subject: Remove Page Set Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hello,

( 1) I edited the member *INP1 for 1 of the qmgr (say, MQE3INP1) with the additional of the followings statements:
DEFINE PSID (05) BUFFPOOL (3)
DEFINE PSID (06) BUFFPOOL (3)
( 2) When I do a /+mqe3 dis usage, it displayed the followings:
Page Buffer Total Unused Persistent Nonpersistent Restart Expand
set pool pages pages data pages data pages extents count
_ 0 0 10078 10054 24 0 0 0
_ 1 0 10078 10073 5 0 0 0
_ 2 1 10078 10078 0 0 0 0
_ 3 2 10078 10078 0 0 0 0
_ 4 3 10078 10077 1 0 0 0
_ 5 has never been online
_ 6 has never been online

( 3) I understand that I have to create 2 datasets and edit the member MQE3MSTR with the additional of the following stmts:
//CSQP0005 DD DSN=SYS9.MQS.MQE3.PSID05,DISP=SHR
//CSQP0005 DD DSN=SYS9.MQS.MQE3.PSID06,DISP=SHR
( 4) May I ask if I do not wana page set 5 and 6, how do I remove it?
( 5) Thank you.

.Hoe San.
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Aug 06, 2007 12:27 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Welcome to the club

If you're using version 6.0 of MQ it's quite easy, just use DELETE PSID()
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqsaw.doc/csq84c103.htm
You cannot delete a page set that is still referenced by any storage class. Use DISPLAY STGCLASS to find out which storage classes reference a page set.


If prior versions:
I did a small description remove/shrink PSID
To remove the pageset just take steps 1 thru 7.

-- Lock it or Lose it --
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bay hoe san
PostPosted: Mon Aug 06, 2007 12:50 am    Post subject: Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hello,

( 1) Thank you for your responses.
( 2) I am using WMQ V5.3.1 on z/OS V1R7. May I ask do I need to delete and define BSDS and LOG as the PSID (5) and (6) do not exist at all as I have not created the dataset. It seemed to me that when I edit the member MQE3INP1 with additional PSID and do a dis usage, it will show the new PSID not online.
Thank you and greatly appreciate your advise.

.Hoe San.
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Aug 06, 2007 3:49 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

You need to if your queue manager complains about the PSID's after restart.

The reason for define new LOG and BSDS is to get rid of the reference for recovery.

-- Lock it or Lose it --
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bay hoe san
PostPosted: Mon Aug 06, 2007 6:10 pm    Post subject: Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hello,

( 1) Thank you for your guidance.
( 2) I have tried the method u prescribe from step 1 to 7. I have a query for step 6 i.e. Issue a RESETPAGE against all pagesets using CSQUTIL. As far as I understand, RESETPAGE requires the existing pagesets and NEW pagesets. Does u mean that after RESETPAGE, we have to amend the started task *MSTR, the members *INP1 and INSG?
( 3) I tried to start my qmgr after RESETPAGE without amending *MSTR, *INP1 and *INSG but it dumped without getting started.
Pls advise.
Thank you.

.Hoe San.
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Aug 06, 2007 10:19 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

You can run resetpage directly on the exitsting PageSets using the FORCE argument:

Code:
//RESTPAGE EXEC PGM=CSQUTIL                     
//*STEPLIB DD DISP=SHR,DSN=SYS1.SCSQANLE     
//* DD DISP=SHR,DSN=SYS1.SCSQAUTH             
//CSQP0000 DD DISP=OLD,DSN=SYSA.MQ3P.PSID00
//CSQP0001 DD DISP=OLD,DSN=SYSA.MQ3P.PSID01
//CSQP0002 DD DISP=OLD,DSN=SYSA.MQ3P.PSID02
//CSQP0003 DD DISP=OLD,DSN=SYSA.MQ3P.PSID03
//CSQP0004 DD DISP=OLD,DSN=SYSA.MQ3P.PSID04
//SYSPRINT DD SYSOUT=*                           
//SYSIN DD *                                     
RESETPAGE FORCE                                 
/*


But before doing this: Make a backup, just in case.....

And if you have used (created new pagesets you need to change the *MSTR JCL or renname the new pagesets to replace the old ones.
Or just use the RESETPAGE FORCE.

What ABEND do you get ? (Complaints about missing logs/BSDS ?)

I hope this helps.

-- Lock it or Lose it --
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bay hoe san
PostPosted: Mon Aug 06, 2007 11:53 pm    Post subject: Reply with quote

Centurion

Joined: 27 Nov 2006
Posts: 117

Hello,

( 1) Your JCL gave a hint. I have reset PSID01 to 04 leaving out PSID00. I re-do your steps and it works.
( 2) Appreciate deeply. Thanks.

.Hoe San.
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 » Remove Page Set
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.