How to find out who edited PS file?

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
utkarsh
Registered Member
Posts: 66
Joined: Fri Jun 21, 2013 10:32 pm
India

How to find out who edited PS file?

Post by utkarsh »

How to find out who edited PS file?

[ Post made via Android ] Image
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to find out who edited PS file?

Post by Robert Sample »

If by "ps file" you mean a sequential MVS data set:
To find out who edited a data set in the past, you'll need to pull in the SMF records (type 15 for output in particular) to find the user id.
If you want to track this for future edits, work with your site support group to have RACF record all accesses to the data set.

If by "ps file" you mean a sequential Unix System Services file, I don't recall if SMF type 15 records are written for USS files -- you will have to research that yourself in the SMF manual. And you would need to check with your site support group about RACF logging for USS files for future edits.

And, in general, if editing a data set (or file) is a concern, using your site security package to control access is the way to go. If you want to complain that everyone in your group needs to be able to edit the data set (or file), then you need to have your site security package logging EVERY access (read, write, delete -- whatever) so you know who modified it and when.
utkarsh
Registered Member
Posts: 66
Joined: Fri Jun 21, 2013 10:32 pm
India

Re: How to find out who edited PS file?

Post by utkarsh »

Robert Sample wrote: Fri Dec 14, 2018 8:55 pmIf by "ps file" you mean a sequential MVS data set:
To find out who edited a data set in the past, you'll need to pull in the SMF records (type 15 for output in particular) to find the user id.
If you want to track this for future edits, work with your site support group to have RACF record all accesses to the data set.
This is what I meant. I did not know that there are these many possibilities. I read somewhere that MVS does not really work on "who" instead works on "what" concept. Like it never stores who has updated a given data set but at what time, it might store that. Looks like I was thinking right.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to find out who edited PS file?

Post by Robert Sample »

Like it never stores who has updated a given data set but at what time, it might store that. Looks like I was thinking right.
No, you're not really thinking right. RACF records when a data set is written in the type 15 records, but the user id is part of the SMF type 15 record. Auditing requires knowledge of both what happened and who did it.
User avatar
vasanthz
Registered Member
Posts: 32
Joined: Tue Dec 06, 2016 1:06 am

Re: How to find out who edited PS file?

Post by vasanthz »

Sorry to nitpick,
"RACF records when a data set is written in the type 15 records, "
I was under the impression that SMF started task monitors this activity and captures this information in type 15 records, rather than RACF.

I think RACF records activity only in Type 80 records.
Please feel free to correct me.

Regards,
Vasanth.S
Regards,
Vasanth.S
utkarsh
Registered Member
Posts: 66
Joined: Fri Jun 21, 2013 10:32 pm
India

Re: How to find out who edited PS file?

Post by utkarsh »

Thanks. But is it RACF or SMF?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How to find out who edited PS file?

Post by Robert Sample »

RACF (or whatever security software is used at the site) controls access and logging, but the type 15 records are written to the SMF output (which may be a logstream or data set). Sorry for not making that clear.
utkarsh
Registered Member
Posts: 66
Joined: Fri Jun 21, 2013 10:32 pm
India

Re: How to find out who edited PS file?

Post by utkarsh »

Thanks Robert. I was looking for this information and got to this topic, again.

I have bit odd question, how can we really try to become more knowledgeable with RACF. I am a programmer and would like to learn and practice about RACF but my company won't allow that. As I work from offshore and they don't have this team at offshore. So is it possible that someone can understand RACF by creating some sandbox at home?
User avatar
zum13
Registered Member
Posts: 85
Joined: Thu May 04, 2023 12:58 am

Re: How to find out who edited PS file?

Post by zum13 »

IBM has a thing called ZD&T which is an emulation system that lets z/OS run on a PC and will allow you full administration rights. This was intended for commercial use, so the pricing of it is rather high. They did, however, create a "Learner's Edition" which cost 120USD but it was only made available for a short period and only in the USA. According to the website, the Learner's edition is "currently being updated and will return soon." This message has been there for most of the year. I have been told that it was expected to be re-released some time this year and that it will be more widely available.

The website is here: https://www.ibm.com/products/z-developm ... nt/pricing
utkarsh
Registered Member
Posts: 66
Joined: Fri Jun 21, 2013 10:32 pm
India

Re: How to find out who edited PS file?

Post by utkarsh »

Thanks zum13.

But this is very expensive specially when you earn in rupees. Not sure if we can ever create an environment for personal learning.
Post Reply

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

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”