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
 

 

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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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