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

sms uncataloged datasets


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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Feb 12, 2009 9:48 pm
Reply with quote

topic spitted in order to not disturb the original thread
ibmmainframes.com/viewtopic.php?t=38053&highlight=

Sorry if I entered in here wrong.
enrico-sorichetti wrote:
having uncataloged dataset on sms controlled volumes

Can we have uncataloged datasets on SMS controlled volume?

IBM Library says this
Quote:
All system-managed data sets are automatically cataloged, even if you use a disposition of KEEP.

So, this applies to creation. After that, can we uncatalog a dataset on SMS volume?

Please explain.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 12, 2009 9:52 pm
Reply with quote

Hi Gnanas!
You did not finish my sentence
Quote:
... is symptom of bad habits


errors occurred and nobody cared about them icon_biggrin.gif
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Feb 12, 2009 10:13 pm
Reply with quote

Hi Enrico!

Thanks for kind your reply icon_smile.gif

I read your sentence fully.

I conclude that datasets must be cataloged on SMS volume while creating. But, somehow some datasets may be cataloged... this is a bad habit...

I'm not sure how uncataloged dataset on SMS volume would be under control of SMS!!!
Or
uncataloged datsets on SMS volume are like non-SMS datasets??? icon_confused.gif

Thanks, again.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 12, 2009 10:14 pm
Reply with quote

uncataloged dataset on sms managed volumes are ... errors icon_biggrin.gif

in ISPF option 3.4 try to uncatalog a sms managed dataset,
and You will see that Your request will be nicely refused
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Feb 12, 2009 10:37 pm
Reply with quote

Yes, Enrico!

I got this error while trying to uncatalog a SMS managed dataset.
Code:
Managed data sets cannot be uncataloged.

Now My question is how there might be uncataloged datasets on SMS volume? I mean to ask what causes those errors ???

Thank you!
Back to top
View user's profile Send private message
rahulbank

New User


Joined: 25 Sep 2008
Posts: 66
Location: Bengaluruuuuuu

PostPosted: Fri Feb 13, 2009 12:55 am
Reply with quote

I have come across datasets such as these and these are when datasets are deleted logically but not scratched or deleted physically from the volume.

FOr e.g. a gdg with no scratch option will not delete it from the volume but make it uncataloged when it egts rolled off.

Sorry from interrupting the chat but could not hold myself back.

Regards,
Storage Guy
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Feb 13, 2009 1:17 am
Reply with quote

Sorry, but I have to disagree,

quoting from somewhere on the net

With SMS, it is a requirement that all data sets be cataloged.
When a DGS is created at step start, it is cataloged in
DEFERRED ROLL-IN status. It is not part of the GDG until it
is rolled in as the result of CATLG at step termination. If
it is not to be scratched at when the LIMIT is exceeded, it will
be ROLLED-OUT.

when a generation is ROLLED OFF it disappears from the associations
but not from the catalog
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: Fri Feb 13, 2009 3:47 am
Reply with quote

Hello,

Now i'm curious icon_wink.gif

If sms requires all datasets be cataloged, how does a dataset become uncataloged and still remain on the system?

Bug in sms? Something with some shared catalog? Some low-level assembler code that makes marks in the vtoc but not the catalog?

Like i said - just curious. . .
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 13, 2009 3:30 pm
Reply with quote

I got this by GOOGLEing thru.
Quote:
Uncataloged datasets on SMS volumes can occur, as a result of system failures, or an authorized program could have bypassed security and uncataloged them, or if you did a physical dump and restore of the volume: DFDSS/SDFSMSdss will restore a VSAM dataset in that case, but cannot catalog it and will give an ADR318I message to indicate that the data set "may" need to be cataloged (physical dumps do not preserve enough information about VSAM datasets to reconstruct the catalog entries). The last reference date should be the uncatalog date, since on an SMS managed volume the catalog should be consulted every time the data set is accessed.

Please let me know if any point is wrong. icon_smile.gif
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 13, 2009 6:02 pm
Reply with quote

Hi Dick,
Quote:
If sms requires all datasets be cataloged, how does a dataset become uncataloged and still remain on the system?

This might be the reasons...

Code:
We could end up with uncatalogued datasets after batch failures. A reasonably commom problem is restore failures on multi-volume datasets which leaves parts of uncatalogued datasets behind.

While we can not uncatalog a SMS dataset manually using normal processes, it is also easily possible to do it with IDCAMS DELETE - NOSCRATCH, which deletes the catalog entry, but leaves the dataset behind on disk.

It should be quite easy to run a monthly report to check the status of all SMS disks and identify all uncatalogued datasets. We can then decide if we want to catalog them up again, or delete them.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Feb 13, 2009 6:12 pm
Reply with quote

Also, the most obvious reason of all
Quote:

If RACF is installed, you must have access authority under RACF to specify NOSCRATCH. With proper authority, DELETE NOSCRATCH is allowed on SMS-managed VSAM and non-VSAM data sets, thus deleting the BCS entry in the catalog without accessing the VVDS or VTOC.

Attention DELETE NOSCRATCH can result in uncataloged SMS-managed data sets.
Back to top
View user's profile Send private message
rahulbank

New User


Joined: 25 Sep 2008
Posts: 66
Location: Bengaluruuuuuu

PostPosted: Fri Feb 13, 2009 9:08 pm
Reply with quote

I agree with this reason have seen many also pointed the same in the loop.
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

 


Similar Topics
Topic Forum Replies
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
No new posts define 1 DCB parms for multiple outpu... JCL & VSAM 9
No new posts FTP datasets to server CLIST & REXX 13
Search our Forums:

Back to Top