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 » Changing shareoptions on an active log

Post new topic  Reply to topic
 Changing shareoptions on an active log « View previous topic :: View next topic » 
Author Message
belchman
PostPosted: Mon Jun 27, 2011 5:42 am    Post subject: Changing shareoptions on an active log Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 386
Location: Ohio, USA

I have searched all of the manuals and MP16 and cannot find a definitive answer so I am hoping one of you have done this and are ore certain than I am.

I am reasonably certain, but need to be dead certain, that if I issue the following command against a running queue manager the MQ MSTR task will not notice until the next time it is bounced.

This is production so I need more confidence than a gut feeling Even though I will have change documentation in place, I want to have confidence when I ask for approval and management asks me of the risks.

"ALTER 'MQP.MQP1.LOGCOPY1.DS03.DATA' SHAREOPTIONS (2 3)"

Currently, the file is shareable and is logging

"MQP.MQP1.LOGCOPY1.DS03 HAS SHAREOPTIONS LESS THAN (2 3) - CFSTRUCTURE RECOVERY NOT POSSIBLE"

The QSG is built and ready, we just do not have any shared objects yet, so the error is not so troubling for me.

Part of me wants to issue the alter now and the change (from QMGR Task scope) will be put into effect the next IPL or qmgr bounce.

Part of me doubts my gut when it says "don't worry".

What do you folks think?
_________________
Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter
Back to top
View user's profile Send private message
cicsprog
PostPosted: Mon Jun 27, 2011 9:30 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 347

You need to look at the DFP manuals for your answer - not the MQ ones. It always safer to do this type of change when no apps have a VSAM file open.
Back to top
View user's profile Send private message
belchman
PostPosted: Mon Jun 27, 2011 9:48 am    Post subject: Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 386
Location: Ohio, USA

Thx cicsprog...

I decided to err on the side of caution and run my "change shareoptions JCL" during the next maintenance window prior to IPL.

I will gander at your DFP manual as well jut to learn something new.
_________________
Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter
Back to top
View user's profile Send private message
cicsprog
PostPosted: Mon Jun 27, 2011 10:00 am    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2002
Posts: 347

I meant DFS manuals. GOOGLE VSAM SHAREOPTIONS and you'll be able to get the IBM manuals
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 27, 2011 10:57 am    Post subject: Re: Changing shareoptions on an active log Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

belchman wrote:

Currently, the file is shareable and is logging

Not sure what this means... what file? Do you mean dataset?

belchman wrote:

"MQP.MQP1.LOGCOPY1.DS03 HAS SHAREOPTIONS LESS THAN (2 3) - CFSTRUCTURE RECOVERY NOT POSSIBLE"

Is this an error message of some kind? What are you quoting? Where is the CSQnnnn message number?

What are the current SHR options?

And, why do you want to change SHR option?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
belchman
PostPosted: Mon Jun 27, 2011 11:04 am    Post subject: Reply with quote

Partisan

Joined: 31 Mar 2006
Posts: 386
Location: Ohio, USA

They are log datasets for the queue managers. They are now in the newly created queue sharing group and the logs need to be shareable.

The warning being thrown on one of the two queue managers is

CSQJ250I (MQP1 CSQJDS02 DATA SET 678
MQP.MQP1.LOGCOPY1.DS03 HAS SHAREOPTIONS LESS THAN (2 3) - CF
STRUCTURE RECOVERY NOT POSSIBLE

This weekend, I will alter the datasets, setting them to SHAREOPTIONS (2 3)

We can argue over semantics, but IMHO, a dataset is a file is a dataset. But these are datasets
_________________
Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 27, 2011 11:39 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

This is pretty explicit about what you need to do to allow CF structure rebuild: http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=/com.ibm.mq.csqsao.doc/zm14880_.htm

System programmer response
If you want CF structure recovery, use the Access Method Services ALTER function to correct the SHAREOPTIONS for the data set; for example
ALTER dsname.DATA SHAREOPTIONS(2 3)
Then restart the queue manager that owns the data set.

I'd leave things as they are for now; and make the change at next qmgr restart.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » Changing shareoptions on an active log
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.