Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to uncatalog a PDS on an SMS managed volume
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author 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
References
PostPosted: Fri May 02, 2008 12:07 am    Post subject: Re: Reply with quote

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2949
Location: Brussels once more ...

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: 1142
Location: At my desk

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: 2949
Location: Brussels once more ...

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
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2560
Location: italy

PostPosted: Fri May 02, 2008 12:25 am    Post subject: Reply to: How to uncatalog a PDS on an SMS managed volume
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 D.

Senior Member


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

PostPosted: Fri May 02, 2008 4:04 am    Post subject:
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.

http://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: 1142
Location: At my desk

PostPosted: Fri May 02, 2008 4:13 am    Post subject:
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    Post subject:
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: 2949
Location: Brussels once more ...

PostPosted: Fri May 02, 2008 1:55 pm    Post subject:
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
tchen40

New User


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

PostPosted: Fri May 02, 2008 6:57 pm    Post subject:
Reply with quote

Sure can, but I prefer to play it safe.
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Sat May 03, 2008 2:59 am    Post subject:
Reply with quote

CICS Guy wrote:
I think that has been what the prevalent recommendation has been.....
I thought that ACS routine thing is not been suggeseted yet..well.. icon_redface.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1142
Location: At my desk

PostPosted: Sat May 03, 2008 3:06 am    Post subject:
Reply with quote

Anuj D. wrote:
CICS Guy wrote:
I think that has been what the prevalent recommendation has been.....
I thought that ACS routine thing is not been suggeseted yet..well.. icon_redface.gif
I'm as confused as you, heck I can't even spell ACS, let alone what to do with it....
Just to say, that after I started working in an SMS environment, there had always been a way to assign an allocation to a non SMS volume, it was limited and it did not last long (not even overnight usually), but it could be done.......
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Sat May 03, 2008 4:52 am    Post subject:
Reply with quote

Quote:
I'm as confused as you
I'm not.. icon_razz.gif , well, I just can't try it that fast as a system/storage guy could..

Some shops implement this by code in the ACS routine like this:
Code:
IF &STORCLASS='NONSMS' THEN SET STORCLAS=''

But then there are other ways that the ACS routines can have a
Code:
THEN SET STORCLAS=''

e.g. it may just be coded that if you specify a certain (NONSMS) volser in your JCL then the ACS code will "honour" the allocation.
Code:
IF &ANYVOL='SYS%%%' THEN SET STORCLAS=''


Again, I'm not a storage guy, but an application engineer (only 'they' say, I still feel I'm quite dum*.. icon_smile.gif ) all above written I know because manual says so & perhaps it's been posted in this forum as well. I never tried it but one in need can..

BTW, he already decided something ..
Quote:
destined to wake up @ 3AM


have a good one,

later
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2