How to know owner of data-set?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Previous topicNext topic

Topic Author
RaOne
Registered Member
Posts: 27
Joined: Fri Aug 16, 2013 11:46 pm
Zodiac: Cancer

How to know owner of data-set?

Post by RaOne » Thu Jan 30, 2014 8:40 am

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.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: How to know owner of data-set?

Post by Robert Sample » Thu Jan 30, 2014 10:41 am

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.




Topic Author
RaOne
Registered Member
Posts: 27
Joined: Fri Aug 16, 2013 11:46 pm
Zodiac: Cancer

Re: How to know owner of data-set?

Post by RaOne » Mon Jun 16, 2014 2:33 pm

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?



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: How to know owner of data-set?

Post by Robert Sample » Mon Jun 16, 2014 6:35 pm

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.




Topic Author
RaOne
Registered Member
Posts: 27
Joined: Fri Aug 16, 2013 11:46 pm
Zodiac: Cancer

Re: How to know owner of data-set?

Post by RaOne » Mon Jun 27, 2016 3:19 pm

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.
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?




enrico-sorichetti
Global Moderator
Global Moderator
Posts: 892
Joined: Wed Sep 11, 2013 3:57 pm

Re: How to know owner of data-set?

Post by enrico-sorichetti » Mon Jun 27, 2016 5:52 pm

If I have a good reason to know who has the access to data and who has created it,
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,
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 8-)


Topic Author
RaOne
Registered Member
Posts: 27
Joined: Fri Aug 16, 2013 11:46 pm
Zodiac: Cancer

Re: How to know owner of data-set?

Post by RaOne » Tue Jun 28, 2016 5:29 pm

enrico-sorichetti wrote:
If I have a good reason to know who has the access to data and who has created it,
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,
they are involved in user/resource management and they usually know things before they happen, not after.
Thanks I have written them an email and opened a tickect with our support for it.

Thanks for all the guidance.



Previous topicNext topic

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”