Lizette Koehler wrote:

The rule is NO UNCATALOGED DATASET in SMS MANAGED POOLs.

It theoretically should not work if you try to uncatalog a dataset that is SMS 
Managed.  This should fail.


Lizette


Hi Lizette,

 Well - this is my confusion then.  In the documentation for the unCATALOG
function (CATALOG with CAMLST that specifies UNCAT), it says:

    Restriction:
The CAMLST UNCAT or UCATDX function is not supported for system-managed data sets. These are ignored. The function is not performed and the return
       code is 0.


This is why I was wondering if simply executing the unCATALOG would
"just work".

In situations where it was really needed, it would be there; and in the SMS
situation it would just 'not work' - but return a return-code of 0.

Regarding my other question - I was curious about how you could programmatically tell, given a DSN, if the file is SMS-managed. A file should have a management-class if-and-only-if it is SMS-managed; so I suppose SVC 99 could be used to return the management class... if the file has it; then it's SMS-managed, if it doesn't
then it's not SMS-managed?   Would that be one possibility?

     - Thanks -
     - Dave Rivers -

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to