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 » Mainframe, CICS, TXSeries » Alter Queue does not work

Post new topic  Reply to topic
 Alter Queue does not work « View previous topic :: View next topic » 
Author Message
tophoven
PostPosted: Mon Mar 12, 2007 4:39 am    Post subject: Alter Queue does not work Reply with quote

Newbie

Joined: 08 Dec 2005
Posts: 6

Hello all,

I want to change the StorageClass of the SYSTEM.PENDING.DATA.QUEUE unfortunately I get an error when I try to execute following statement via Job:

ALTER -
QLOCAL(SYSTEM.PENDING.DATA.QUEUE) -
QSGDISP(QMGR) -
STGCLASS(SGSYS01)

I get a message, that the STGCLASS ACTIVE OR QUEUE IN USE .
And this is right.
After that I tried to change the Queue during the System Startup of the Queue Manager but in the CSQINP1 the command doesn't work with the Error: Command cannot be issued from CSQINP1

If I put the Command in the CSQINP2 Dataset I get the same error as if I didt it with a job.

Can anyone help me, how I can change the StgClass for this Queue?

Tanks in advanced

Franz-Josef
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Mar 12, 2007 4:57 am    Post subject: Reply with quote

Jedi Knight

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

oops... fat fingers...
_________________
Michael



MQSystems Facebook page


Last edited by Michael Dag on Mon Mar 12, 2007 4:58 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Michael Dag
PostPosted: Mon Mar 12, 2007 4:57 am    Post subject: Reply with quote

Jedi Knight

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

does the command work for other queues?

maybe you cannot change the storage class of SYSTEM.* queues...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vitor
PostPosted: Mon Mar 12, 2007 4:57 am    Post subject: Re: Alter Queue does not work Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

tophoven wrote:
I get a message, that the STGCLASS ACTIVE OR QUEUE IN USE .
And this is right.


I agree - as per the manual:

Quote:
STGCLASS(string)
The name of the storage class.
This parameter is supported only on local and model queues.
This is an installation-defined name.
This parameter is valid on z/OS only. For more information, see the
WebSphere MQ for z/OS Concepts and Planning Guide.
The first character of the name must be uppercase A through Z, and
subsequent characters either uppercase A through Z or numeric 0 through
9.
Note: You can change this parameter only if the queue is empty and
closed.


So making sure the queue is empty and closed would seem to be the way forward. Which could be tricky for a system queue.

Or am I missing something?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
tophoven
PostPosted: Mon Mar 12, 2007 5:04 am    Post subject: Reply with quote

Newbie

Joined: 08 Dec 2005
Posts: 6

Michael Dag wrote:
does the command work for other queues?

maybe you cannot change the storage class of SYSTEM.* queues...


yes i does
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Mar 12, 2007 8:03 am    Post subject: Reply with quote

Guest




INP1 concatenation is for defining buffers and such - BEFORE objects are defined in INP2 concatenation.
Back to top
kevinf2349
PostPosted: Mon Mar 12, 2007 11:25 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I guess the obvious question is...why do you need to change it's storage class?

I believe the SPDQ is a new queue with version 6 but I am pretty sure that the queue manager itself will have it open so you may be SOL for doing an ALTER.

Have you tried doing a DEFINE REPLACE in the CSQINP2 deck?
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 » Mainframe, CICS, TXSeries » Alter Queue does not work
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.