IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Check the Creator of a PS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Sun Jun 14, 2009 1:18 pm
Reply with quote

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. icon_confused.gif

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Jun 14, 2009 1:23 pm
Reply with quote

SMF records will be the only source of information for this.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 14, 2009 1:26 pm
Reply with quote

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
View user's profile Send private message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Sun Jun 14, 2009 1:36 pm
Reply with quote

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 icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Jun 14, 2009 5:29 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 14, 2009 10:24 pm
Reply with quote

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
View user's profile Send private message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Mon Jun 15, 2009 10:30 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jun 15, 2009 1:46 pm
Reply with quote

Click HERE to read about SMF records
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 15, 2009 3:39 pm
Reply with quote

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
View user's profile Send private message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Mon Jun 15, 2009 11:00 pm
Reply with quote

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.

icon_rolleyes.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jun 15, 2009 11:41 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jun 15, 2009 11:46 pm
Reply with quote

as well as implement some kind of integrity (data and personal) at your site.
Back to top
View user's profile Send private message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Tue Jun 16, 2009 12:51 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Jun 16, 2009 1:39 am
Reply with quote

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) icon_biggrin.gif

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Jun 16, 2009 1:47 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 16, 2009 2:02 am
Reply with quote

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
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Jun 16, 2009 4:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 17, 2009 7:25 am
Reply with quote

Hello,

Quote:
No it doesn't it will allocate with SHR
A QSAM file?
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Wed Jun 17, 2009 12:31 pm
Reply with quote

Sh*t, forgot we were talking PS files, I will go out and throw myself on my sword
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 17, 2009 4:56 pm
Reply with quote

That sounds painful! icon_smile.gif

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jun 17, 2009 5:08 pm
Reply with quote

Quote:
to hit someone's hot button
LOL... icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
No new posts EMPTY file check scenario JCL & VSAM 6
Search our Forums:

Back to Top