Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to find the user who has cteated a dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
David_Li

New User


Joined: 05 Apr 2006
Posts: 10

PostPosted: Wed Apr 05, 2006 9:50 pm    Post subject: How to find the user who has cteated a dataset?
Reply with quote

If a dataset exists on system, I want to know who creates it, how to do it?
Back to top
View user's profile Send private message

DASDMan0108

New User


Joined: 05 Apr 2006
Posts: 2
Location: Omaha, NE

PostPosted: Thu Apr 06, 2006 12:48 am    Post subject: Re: How to find the user who has cteated a dataset?
Reply with quote

You can find this by using SMF (System Management Facilities). Use the MVS SMF manual to see the layout of the Type 15 record. You can then either write a program to read the SMF records, or use something like SAS or EasyTrieve to retrieve and format the data. There are also third party packages that can assist you. I believe CA-Disk has this ability. icon_biggrin.gif
Back to top
View user's profile Send private message
rohit jaiswal
Warnings : 2

New User


Joined: 09 Mar 2006
Posts: 36
Location: hyderabad,A.P

PostPosted: Thu Apr 06, 2006 11:08 am    Post subject: How to find the user who has cteated a dataset?
Reply with quote

hi dasdman

can you please expalin thee above explaied information in detail and if possible do attach some programs

thank you

regards
rohit
Back to top
View user's profile Send private message
David_Li

New User


Joined: 05 Apr 2006
Posts: 10

PostPosted: Thu Apr 06, 2006 3:59 pm    Post subject: Dasdman
Reply with quote

Thanks for your reply for this. Could you please give me more detail info about how to use the MVS SMF to get the answer?l icon_rolleyes.gif
Back to top
View user's profile Send private message
DASDMan0108

New User


Joined: 05 Apr 2006
Posts: 2
Location: Omaha, NE

PostPosted: Thu Apr 06, 2006 5:03 pm    Post subject: Re: How to find the user who has cteated a dataset?
Reply with quote

You should be able to find the doc at this link:

http://www.mainframes.com/books.htm

Look for the layout of Type 15 record. I'll paste the EasyTrieve parms below. You would need to find the area of the record that contains USER information, and add that to the parms:

PARM DEBUG(FLOW)
FILE SMF VBS (22528 4086)
RECTYPE 2 1 B
JOBDATE 27 4 P
JOBNAME 15 8 A
JOBMASK 15 2 A
NUMDEV 51 1 B
VOLUME 271 6 A
DDCARD 53 8 A
DSNAME 65 42 A
EXTENTS 282 1 B
FILE RPT1 PRINTER

JOB INPUT SMF
IF RECTYPE EQ 15
IF EXTENTS GT 10
IF JOBMASK EQ 'WO' OR JOBMASK EQ 'CO' OR JOBMASK EQ 'WA'
PRINT RPT1
END-IF
END-IF
END-IF
*
REPORT RPT1 PRINTER RPT1 TALLYSIZE 10
TITLE 1 'SMF DSN EXTENTS'
LINE 1 JOBDATE +
JOBNAME +
DDCARD +
DSNAME +
VOLUME +
NUMDEV +
EXTENTS

Not much to it. If you use SAS, that's another option. I know a lot of people write their own retrieval software in COBOL or ASSEMBLER. If your company has CA-DISK, formerly SAMS-DISK, look into the BrightStor option. Good luck. icon_eek.gif
Back to top
View user's profile Send private message
Bill McCoy

New User


Joined: 18 May 2006
Posts: 3

PostPosted: Fri May 19, 2006 12:25 am    Post subject: Re: How to find the user who has cteated a dataset?
Reply with quote

SMF type 15 records are written for outputs to sequential records. You should first determine if the dataset is sequential or vsam, and you will need to determine the dataset's creation date. If the dataset is vsam, then you should look for SMF type 61 (define). You need to know create date so you can determine which SMF datasets to process. Good hunting!
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
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RACF- How to find the Last access of ... rahul shanmuganatan All Other Mainframe Topics 3 Thu Jun 21, 2018 3:19 pm
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am
No new posts Temp dataset unusual behavior sheersh JCL & VSAM 5 Tue May 08, 2018 9:52 pm
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us