Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Check the Creator of a PS
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Check the Creator of a PS
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: 8593
Location: Back in jolly old England

PostPosted: Sun Jun 14, 2009 1:23 pm    Post subject:
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

Site Director


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

PostPosted: Sun Jun 14, 2009 1:26 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sun Jun 14, 2009 5:29 pm    Post subject:
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

Site Director


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

PostPosted: Sun Jun 14, 2009 10:24 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jun 15, 2009 1:46 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Mon Jun 15, 2009 3:39 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Jun 15, 2009 11:41 pm    Post subject: Reply to: Check the Creator of a PS
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Jun 16, 2009 1:39 am    Post subject: Reply to: Check the Creator of a PS
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
www.cbttape.org
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Jun 16, 2009 1:47 am    Post subject: Reply to: Check the Creator of a PS
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: 7913
Location: Bellevue, IA

PostPosted: Tue Jun 16, 2009 2:02 am    Post subject:
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: 258

PostPosted: Tue Jun 16, 2009 4:20 pm    Post subject:
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

Site Director


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

PostPosted: Wed Jun 17, 2009 7:25 am    Post subject:
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: 258

PostPosted: Wed Jun 17, 2009 12:31 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Wed Jun 17, 2009 4:56 pm    Post subject:
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Syntax to check the first 4 digits of... kshirabdhi DFSORT/ICETOOL 10 Tue May 03, 2016 12:21 pm
No new posts Check special resource availability w... pinimo JCL & VSAM 8 Fri Apr 15, 2016 8:18 pm
No new posts check nth row from a PS file bachi234 DFSORT/ICETOOL 2 Fri Feb 19, 2016 5:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us