View previous topic :: View next topic
|
Author |
Message |
S0C7
New User
Joined: 19 May 2006 Posts: 26
|
|
|
|
Hi,
I was intially using a utility to find the dataset information wherein we got the id of the creator of a PS. The utility is no loger working for me.
I need to find the creator of a PS. ISPF 3.2 option does not show me the creator. Can someone point me to the correct direction?
If I need to run a listcat, please let me know which option is to be used. I was facing some errors on that.
Thanks a bunch! |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SMF records will be the only source of information for this. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
The utility is no loger working for me. |
How did this utility work?
What was the source of the data for this utility?
When/why did it stop working? |
|
Back to top |
|
|
S0C7
New User
Joined: 19 May 2006 Posts: 26
|
|
|
|
expat wrote: |
SMF records will be the only source of information for this. |
How do I check that Expat? Need help.
Dick -> I might be mistaken. There was a rexx/clist which would run a listcat on the dsn. Maybe it got removed from the PDS that was in my SYSPROC. But I am not bothered looking for that right now.
There is a PS that got changed and I need to find out who changed it. I have to find this out before I run my batch |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I would usually use SMF type 61 (I think) to see who created a dataset. The type 15 records show when a dataset has been opened for output.
I do not have the link at the moment, but if you search the IBM website for SMF you should find the manual easily enough. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
There is a PS that got changed and I need to find out who changed it. |
Initially, the requirement was to find the creator. . .
Suggest you make sure of what you need before investing the effort to find it.
The volume of the SMF data is most like huge. . . |
|
Back to top |
|
|
S0C7
New User
Joined: 19 May 2006 Posts: 26
|
|
|
|
Hi Dick,
Someone overlaid the file that was there originally. So the file got created on the same date. So it doesnt matter if you tell me how to get the creator or the id with the last change.
If you have answers to any of these, then it can work for me. I am trying to look up books but I cannot get any information. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Click HERE to read about SMF records |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Someone overlaid the file that was there originally. So the file got created on the same date. |
Well, which was it? Overlaying the file merely requires DISP=OLD on an output file to completely overwrite it; to create the file on a date requires the old one be deleted and the file recreated. These are extremely different processes.
Have you talked to your site support group to see what, if any, process they have to handle SMF records? If they have something like MXG or MICS already, that would vastly simplify your finding out what happened to the file. If not, plan on spending some hours reading to understand the SMF records before attempting to read them. The SMF records are bit-level records so whatever you use to read them will need to be able to access individual bits. |
|
Back to top |
|
|
S0C7
New User
Joined: 19 May 2006 Posts: 26
|
|
|
|
Hi Robert,
I fully understand the meaning of DISP=OLD.. or MOD.. or NEW. Let's not go there... There are so many other ways of how a file can be replaced/overlaid etc. This file is in our test system and someone could have manually overlaid the file.
Hi Expat,
Thanks for the help. Correct me if I am wrong, SMF records will only help me if someone overlaid the file through a JCL right? So if someone overlaid it manually, I still wont get the info. Anyways, I'll try checking this up.
I had to get the original file copied again from another group, so I got the file that I needed. But then this topic remains open until someone finds an answer.
This is really something IBM should work on!
Cheers! I am signing off on this. Thanks for your help guys.
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
Correct me if I am wrong, SMF records will only help me if someone overlaid the file through a JCL right? So if someone overlaid it manually |
NO! WRONG, smf will collect all the open close operations, irrelevant of the source..
ISPF edit will open the dataset and smf will collect the info
Quote: |
This is really something IBM should work on! |
do not blame IBM for Your poor understanding of things,
it's You who has to work to understand the way data management and SMF work |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
as well as implement some kind of integrity (data and personal) at your site. |
|
Back to top |
|
|
S0C7
New User
Joined: 19 May 2006 Posts: 26
|
|
|
|
Thanks Enrico,
Your post really adds value to my post.
I planned to write a long reply, but I do not have the liberty to put in so much time. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the main issue with SMF dataset processing is proper archival methodology
together with a proper naming standard...
no, I suggest not to use gdg's its very difficult after 3 months to remember if it was xxx.xx(-152) or xxx.xx(-126)
both for audit and planning purposes
as far as audit is concerned one solution could be to process daily after the midnight SMF switch
in order to get a daily report on dataset activity related to output/scratch/rename
( too many records for the read operations )
I even had a skeleton application to load the data to db2 tables
a very good free tool for SMF reporting is DAF ( dataset audit facility ) from Mike Clery
the latest versions report on many more smf records
it can be found by googling for "dataset udit facility daf" or by going to
Use [URL] BBCode for External Links |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
sometimes the userid is not enough, ( as a general point )
jobs submitted thru a scheduler might have as userid the userid of the scheduler started task
so it is necessary also in many cases to display the jobname |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
I fully understand the meaning of DISP=OLD.. or MOD.. or NEW. Let's not go there... There are so many other ways of how a file can be replaced/overlaid etc. This file is in our test system and someone could have manually overlaid the file. |
I really don't think you understand as much as you think you do. A TSO Edit session (using ISPF or not) allocates the data set as DISP=OLD, whether you think so or not doesn't really matter. From the system standpoint, the file can be deleted and defined, or the file can be overwritten via DISP=OLD. I'd really like to hear what other methods you think a file can be replaced or overlaid -- unless you've got some site-defined access method, I think you will find that every method you're thinking of boils down to DISP=OLD on the data set, or the data set is deleted and created again. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Quote: |
A TSO Edit session (using ISPF or not) allocates the data set as DISP=OLD |
No it doesn't it will allocate with SHR |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
No it doesn't it will allocate with SHR |
A QSAM file? |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
Sh*t, forgot we were talking PS files, I will go out and throw myself on my sword |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
That sounds painful!
The devil is in the details, which is another reason I preach precision of terminology so often -- using the wrong word may completely change the meaning of what is being posted (such as version versus generation for a GDG -- to hit someone's hot button). |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
to hit someone's hot button |
LOL... |
|
Back to top |
|
|
|