IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to uncatalog a PDS on an SMS managed volume


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu May 01, 2008 1:47 am
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu May 01, 2008 2:29 am
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu May 01, 2008 3:37 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 01, 2008 4:57 am
Reply with quote

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 icon_wink.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 01, 2008 12:15 pm
Reply with quote

Quote:
for reasons I wont go into here

Oh go on, spill the beans, tell us why icon_eek.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu May 01, 2008 12:18 pm
Reply with quote

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
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu May 01, 2008 8:00 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu May 01, 2008 8:42 pm
Reply with quote

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
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu May 01, 2008 8:56 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu May 01, 2008 9:04 pm
Reply with quote

Just thinking about your "5) I guess I have to wake up @ 3AM" comment.....grin.....
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu May 01, 2008 9:35 pm
Reply with quote

yea well it's also hard to migrate a linklib when CICS isnt using it no ?
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu May 01, 2008 9:39 pm
Reply with quote

I mant when CICS is using it...
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu May 01, 2008 9:49 pm
Reply with quote

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
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Thu May 01, 2008 9:57 pm
Reply with quote

ahhh well, no comment about our ops support. I'll just do it myself icon_cool.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 01, 2008 11:44 pm
Reply with quote

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 icon_confused.gif Well, you shouldn't do everything that strangers tell you to do.
Back to top
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri May 02, 2008 12:07 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 02, 2008 12:13 am
Reply with quote

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
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri May 02, 2008 12:16 am
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri May 02, 2008 12:21 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 02, 2008 12:21 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 02, 2008 12:25 am
Reply with quote

Not site specific... SMS specific

all the SMS managed datasets must be cataloged
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri May 02, 2008 4:04 am
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri May 02, 2008 4:13 am
Reply with quote

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
View user's profile Send private message
tchen40

New User


Joined: 12 Sep 2007
Posts: 30
Location: Los Angeles, Ca

PostPosted: Fri May 02, 2008 11:32 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri May 02, 2008 1:55 pm
Reply with quote

Can you not leave (or get scheduled) a job to perform the library renames as soon as CICS comes down ?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Volume chain using DFSORT DFSORT/ICETOOL 17
No new posts volume mass delete RMM JCL & VSAM 2
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts Copy a PDS to a new PDS - why do I ne... TSO/ISPF 8
No new posts retrieve volume records from decollec... DFSORT/ICETOOL 4
Search our Forums:

Back to Top