Author |
Message
|
arju |
Posted: Wed Feb 11, 2015 12:45 pm Post subject: how to rename mq datasets on zos |
|
|
Novice
Joined: 13 Apr 2014 Posts: 22
|
we are at zos 1.13 and mq 7.0. We received a mail from the storage group requesting to change all mq datasets with a new naming convention. I can copy datasets with adrdssu to new names but how should i change the details in bsds with new names ? I have a test system where i am allowed to test. There i have two qmgrs runnung under a qsg for test purposes. I can stop / start qmgr(s).
Thanks in advance |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 1:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
If it's a test system, delete the old files and recreate with the new names, amending the queue manager JCL as needed _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
arju |
Posted: Wed Feb 11, 2015 6:33 pm Post subject: |
|
|
Novice
Joined: 13 Apr 2014 Posts: 22
|
Thanks. For the test this will be fine,but what will happen in prod? i must change the names in prod also sooner or later. What is the best practice for such a scenario?
1. copy the files in stc to new names
2. copy the active logs to new names
3. keep the archive names same fro the first run
4. use delete log from new bsds
5. add renamed logs to bsds
will this work? i need to be absolutely certain that these sequences do not make sc6.
thanks for sharing your experience and knowledge. |
|
Back to top |
|
 |
MQsysprog |
Posted: Wed Feb 11, 2015 11:21 pm Post subject: |
|
|
Centurion
Joined: 24 Feb 2014 Posts: 116
|
Hello ,
I would check the full procedure written on your last post on the test enviroment before applying it to the production systems .
One suggestion in this type of operations involving the pagesets, may be using the csqutil function copypage to the new page datasets .
However, i have no doubt that adrdssu will work also well .
Hope it helps |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 12, 2015 6:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
arju wrote: |
will this work? i need to be absolutely certain that these sequences do not make sc6. |
Try it in test and see. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|