Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to uncatalog a PDS on an SMS managed volume
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to uncatalog a PDS on an SMS managed volume
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu May 01, 2008 3:37 am    Post subject:
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

Site Director


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

PostPosted: Thu May 01, 2008 4:57 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 01, 2008 12:15 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Thu May 01, 2008 12:18 pm    Post subject: Reply to: How to uncatalog a PDS on an SMS managed volume
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu May 01, 2008 8:42 pm    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu May 01, 2008 9:04 pm    Post subject:
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    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu May 01, 2008 9:49 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 01, 2008 11:44 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 02, 2008 12:13 am    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri May 02, 2008 12:21 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri May 02, 2008 12:21 am    Post subject:
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts DFSMSdss full volume backups JCL when... Alan Playford IBM Tools 3 Thu Feb 05, 2015 4:50 pm
No new posts How to find the volume serial number ... sreekantham JCL & VSAM 7 Wed Jan 28, 2015 2:53 pm
No new posts Need a JCL to change the volume back ... Manikandesvaran D JCL & VSAM 10 Tue Oct 14, 2014 9:06 pm
No new posts mismatch between dfsrmm volume and SM... meykh2014 JCL & VSAM 3 Sat Oct 04, 2014 12:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us