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 » Migrating MQ v1.2 to v5.2 on os390 - moving system queues

Post new topic  Reply to topic
 Migrating MQ v1.2 to v5.2 on os390 - moving system queues « View previous topic :: View next topic » 
Author Message
alan.turnbull
PostPosted: Mon Apr 29, 2002 4:28 pm    Post subject: Reply with quote

Novice

Joined: 28 Apr 2002
Posts: 11

Hi

We are migrating from mqseries v1.2 to v5.2 on os390. For v5.2 IBM recommends not having system queues on page set 00, but for v1.2 by default they are defined on page set 00. I want to follow the recommendation and move the queues from pageset 00 before the migration - but am not sure how to do it.

"Alter storage class" command will succeed only if all the MQSeries queues that
reference the storage class are empty and closed - this seems a bit of a long shot particularly the requirement that they are closed. But I plan to try it first and will put the ALTER command into the CSQINP2 to run at start up.

First i have to get the system queues empty before i shut down the queue manager. The ones im concerned about are ...

System.admin.*.event - i figure i can empty these and then set put(inhibit) on

SYSTEM.CSQOREXX.B3DBA7743B7A5501 - i have lots like this, can i safely delete them??

SYSTEM.CHANNEL.SYNCQ - if i stop the channel initiator can i empty this one? Whats the effect on other queue managers that talk to this one, would i just need to reset the channel sequence numbers??

Any suggestions are most welcome

thanks for reading this .....alan











_________________
Alan Turnbull
Senior Developer
IITS
alan.turnbull@qbe.com.au
Back to top
View user's profile Send private message
blowbeat
PostPosted: Mon Apr 29, 2002 10:58 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2002
Posts: 49

Hi,

Regarding the CSQOREXX queues. They can be deleted, unless actually in use. Maybe you'd want to check out SupportPac MO11 MQSeries for OS/390 - Deleting orphaned permanent dynamic queues.

Theoretically you should be able to unload / reload a queue using the CSQUTIL COPY, EMPTY & LOAD functions. I have not tried this with the SYSTEM queues (yet).

Cheers, Jan.


Back to top
View user's profile Send private message
oz1ccg
PostPosted: Tue Apr 30, 2002 2:07 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

As far as I rememeber, IBM told us on version 2.1 to move form PSID=00..

The way I archive it was creating a new storage class, and then something like this using CSQUTIL:
Code:

//SYSIN    DD    *                                               
COMMAND DDNAME(PUTDIS)                                           
COPY QUEUE(SYSTEM.CHANNEL.SYNCQ) DDNAME(OUTPUT)                 
COMMAND DDNAME(DEFTEMP)                                         
LOAD QUEUE(SYSTEM.CHANNEL.SYNCQ) DDNAME(OUTPUT)                 
/*                                                               
//PUTDIS   DD    *                                               
ALTER QL(SYSTEM.CHANNEL.SYNCQ) GET(ENABLED) PUT(ENABLED)         
DELETE QL(MIP1.TEST.T_Q) PURGE                                   
DEFINE QL(MIP1.TEST.T_Q) LIKE(SYSTEM.CHANNEL.SYNCQ)             
ALTER QL(SYSTEM.CHANNEL.SYNCQ) PUT(DISABLED)                     
/*                                                               
//DEFTEMP  DD    *                                               
ALTER QL(SYSTEM.CHANNEL.SYNCQ) GET(DISABLED)                     
DELETE QL(SYSTEM.CHANNEL.SYNCQ) PURGE                           
DEFINE QL(SYSTEM.CHANNEL.SYNCQ) LIKE(MIP1.TEST.T_Q) +           
       STGCLASS(SYSTEM02)                                       
/*                                                               
//* DELETE QL(MIP1.TEST.T_Q)                                     
//*                                         

What all this does is first create a new queue to keep the attributes of the original queue, and the disable put on that queue...
after that copy it to a dataset,
then delete the original queue, and create it agian in the new STGCLASS,
hereafter reload it, and you're back in business.

It's VERY important to keep the CHIN closed under this task, because it holds a some of the queues... when you have moved filled queues to a new STGCLASS, you can change the STGCLASS(SYSTEM) in CSQINP1 to lets say 02 and restart the queue manager and then the command queue and other qmgr opened queues (SYSTEM.COMMAND...) will automaticly move to the desired STGCLASS....

That was the way I did it years ago, using a small application to move queues between stgclasses. I alse normally have a special PSID just for this purpose and for on-the-fly queue creation... so I don't have to stop the queue managers.

I hope this might give you some ideas on how to do it.....

_________________
Best regards

Jørgen Pedersen
IBM Certified MQSeries Specialist
IBM Certified MQSeries Solutions Expert

[ This Message was edited by: oz1ccg on 2002-04-30 03:08 ]
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
alan.turnbull
PostPosted: Thu May 02, 2002 9:23 pm    Post subject: Reply with quote

Novice

Joined: 28 Apr 2002
Posts: 11

Hi Jan and Jørgen ... thanks very much for your helpful replies, the information was very useful in showing me how to do it ...... thanks again alan

[ This Message was edited by: alan.turnbull on 2002-05-02 22:24 ]
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 » IBM MQ Installation/Configuration Support » Migrating MQ v1.2 to v5.2 on os390 - moving system queues
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.