How to know owner of data-set?
How to know owner of data-set?
Hi,
If someone has created some data-set on mainframes, is there a way to find out the owner of data-set, i.e. who created that.
If someone has created some data-set on mainframes, is there a way to find out the owner of data-set, i.e. who created that.
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to know owner of data-set?
The general answer is NO. There are some special circumstances, such as when the data set was created recently enough so that the SMF data for that date still exists at your site, then it is possible to use the SMF data to find the batch job / TSO user / started task that created the data set -- but if the SMF data is not available, then it is not possible to determine the creator of the data set.
Re: How to know owner of data-set?
Thanks. I did some study on this and came to know (or it's my inference) that zOS is not created the way that it should know what belongs to what! I mean, on mainframes program cares about data and not where it came from so getting what I've aksed is a tedious job... but is it so, if yes? Why?
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to know owner of data-set?
There is a facility of z/OS called System Management Facilities (SMF) which records everything that happens on the system -- but it can be customized to site requirements. In general, SMF will record when a data set is created and which batch job / TSO user / started task / etc. created the data set. However, the data is complex and NOT easy to read and interpret (IBM uses bits for flags in SMF quite a lot). Most sites create a daily SMF file and retain it for some period of time, so if the SMF data still exists then the data set creator can be determined. However, a large site may create millions of SMF records per day, so the cost to process all that data and determine what created a data set is not typically worth it.
Also, the title of your post is inappropriate, anyway. z/OS systems do not have data set owners -- the system determines who has access to the data set based on the security package rules. An "owner" may not have any more access to the data set than any other user of the system -- the security package determines all.
Also, the title of your post is inappropriate, anyway. z/OS systems do not have data set owners -- the system determines who has access to the data set based on the security package rules. An "owner" may not have any more access to the data set than any other user of the system -- the security package determines all.
Re: How to know owner of data-set?
Thanks. If I have a good reason to know who has the access to data and who has created it, I can get to know it using SMF, right?Robert Sample wrote:There is a facility of z/OS called System Management Facilities (SMF) which records everything that happens on the system -- but it can be customized to site requirements. In general, SMF will record when a data set is created and which batch job / TSO user / started task / etc. created the data set. However, the data is complex and NOT easy to read and interpret (IBM uses bits for flags in SMF quite a lot). Most sites create a daily SMF file and retain it for some period of time, so if the SMF data still exists then the data set creator can be determined. However, a large site may create millions of SMF records per day, so the cost to process all that data and determine what created a data set is not typically worth it.
Also, the title of your post is inappropriate, anyway. z/OS systems do not have data set owners -- the system determines who has access to the data set based on the security package rules. An "owner" may not have any more access to the data set than any other user of the system -- the security package determines all.
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: How to know owner of data-set?
if You have a good reason to know "who can do what with a protected resource" the best source of info is the security support group,If I have a good reason to know who has the access to data and who has created it,
they are involved in user/resource management and they usually know things before they happen, not after.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Re: How to know owner of data-set?
Thanks I have written them an email and opened a tickect with our support for it.enrico-sorichetti wrote:if You have a good reason to know "who can do what with a protected resource" the best source of info is the security support group,If I have a good reason to know who has the access to data and who has created it,
they are involved in user/resource management and they usually know things before they happen, not after.
Thanks for all the guidance.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute