View previous topic :: View next topic
|
Author |
Message |
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
for reasons I wont go into here, I need to uncatalog a PDS, rename it and recatalog it. SMS will not allow me to do this. Is there a way this can be done ? |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Why uncatalog, can't you just rename it? Or just define a new one, copy the contents of the old one and delete the old one. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
tchen40 wrote: |
SMS will not allow me to do this. |
You Can't.
Quote: |
Is there a way this can be done ? |
Use Craq's prior solution. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I need to uncatalog a PDS, rename it and recatalog it |
What might the uncatalog/recatalog provide? Some sort of warm&fuzzy for the clueless?
If that is too close to "for reasons I wont go into here", please ignore |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
for reasons I wont go into here |
Oh go on, spill the beans, tell us why |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
it would be better to confess the sin to SMS...
to see if it will make an exception just one time just for the TS ( Thread Starter ) |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
I didn't want to go into details because it will bore all to tears. Here's the Reader's Digest version.
1) We're migrating our data center and hence will be copying our data to an new EMC frame in the new dc. The total amount of storage we have here will be the total we have there.
2) We could use more larger capacity volumes. I'm taking this opportunity to eliminate 3380s and cutting down on the amount of mod3s assigned. this space will be re-allocated to mod27s and mod9s.
3) I have a linklib allocated to a CICS region which comes down daily for 15 mins @ 3:15 AM on one of these volumes I need to consolidate (EMC has given me a range of devices that would give us the biggest bang for the buck). Sidebar here; EMC cannot replicate 3 mod3s to a single mod9.
4) I like my sleep. Didnt want to get up @ 3AM to do this move while CICS was down. In the good old days, I would've created an uncataloged linklib with the same name, copied all the modules to it, uncataloged the original and cataloged the new one. Waited for CICS to come down and back up and viola.... the old volume will be unallocated and I could just offline and inti it... problem solved.
5) I guess I have to wake up @ 3AM |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Wasn't there a thread about just migrating it back and letting the CICS force a recall to the correct larger volume? |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
Maybe but it's kind of silly to migrate a dataset and recalling it as I have to do it in 15 mins. My best choice now is to use DFDSS and move it where I want while CICS is down. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Just thinking about your "5) I guess I have to wake up @ 3AM" comment.....grin..... |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
yea well it's also hard to migrate a linklib when CICS isnt using it no ? |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
I mant when CICS is using it... |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Quote: |
yea well it's also hard to migrate a linklib when CICS is using it no ? |
I was just thinking of an operator initiated command or auto-initiated batch JCL job once the CICS came down.....Should be fairly common procedure, no? |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
ahhh well, no comment about our ops support. I'll just do it myself |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Just wondering about your problem, someway back in the dark and distant past I seem to recall a similar type of thing.
1) Build your clone library as a new name
2) Uncatalog the clone library
3) Rename the clone library using IEHPROGM - not IDCAMS
4) Uncatalog the original library
5) Catalog the cloned and renamed library
Please send a cheque if it works, and if it doesn't Well, you shouldn't do everything that strangers tell you to do. |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
expat wrote: |
J
2) Uncatalog the clone library
|
Expat,
Thats my issue. I cannot uncatalog the clone library because I placed it on an SMS controlled volume. Even if I placed it on a non-SMS controlled volume, how do I uncatalog the original which is on an SMS volume.
There should just be a force command, let me do it, I know what I'm doing parm. I wouldn't even mind if it generated a pop up window saying "Are You Sure ?" |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You create the clone library as a different name from the original.
i.e. ABC.LOADLIB is copied to ABC.LOADLIB.COPY
Then, use IDCAMS DELETE NOSCRATCH to uncatalog the ABC.LOADLIB.COPY, then rename it to ABC.LOADLIB using IEHPROGM whilst it is uncatalog'd, because IDCAMS will expect the dataset to be catalog'd for RENAME processing and will fail because it can not find the target dataset.
If IDCAMS doesn't work for the uncatalog, try IEHPROGM to do the uncatalog. |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
UNCATLG DSNAME=MHTLTC.CSCP.CLSCICS.LINKLIB
IEH210I YOUR REQUEST CANNOT BE SERVICED....
UNCATALOG OF AN SMS MANAGED DATA SET IS NOT ALLOWED ... UNUSUAL END
I tried IEFBR14 and IDCAMS Delete nonvsam nscr as well.. SMS is just not going to allow it. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
tchen40 wrote: |
IEH210I YOUR REQUEST CANNOT BE SERVICED....
UNCATALOG OF AN SMS MANAGED DATA SET IS NOT ALLOWED |
Unless I'm missing something, NO SMS managed dataset can be uncataloged....... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I would guess that maybe this could be a site specific issue as I have NEVER seen that message before when I have used either IDCAMS or IEHPROGM to uncatalog a dataset |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Not site specific... SMS specific
all the SMS managed datasets must be cataloged |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Quote: |
NO SMS managed dataset can be uncataloged |
Then we can try to allocate the DSN on non-SMS volume & delete it from SMS volume.
I think an ACS routine can override the storage class that you specify on the STORCLAS parameter. Per manuals (QW) STORCLAS can be omitted even if SMS is active if an Automatic Class Selection (ACS) SMS exit is in use at your site.
Please check the last 5-6 posts from this thread, they tell how can one overide or place a DSN on a NON-SMS volume.
www.ibmmainframes.com/viewtopic.php?t=275&postdays=0&postorder=asc&start=15
I tried it, ah.. I'm not a storage guy, hard time in getting volume-serials numbers of non-SMS vloumes ( if any at my site). By the time you can give a try, might help. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Anuj D. wrote: |
Then we can try to allocate the DSN on non-SMS volume & delete it from SMS volume. |
I think that has been what the prevalent recommendation has been..... |
|
Back to top |
|
|
tchen40
New User
Joined: 12 Sep 2007 Posts: 30 Location: Los Angeles, Ca
|
|
|
|
lol give it up everybody.. I'm destined to wake up @ 3AM and move it while CICS regions are down. It's a lot easier. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Can you not leave (or get scheduled) a job to perform the library renames as soon as CICS comes down ? |
|
Back to top |
|
|
|