Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How can we find out who created a particular dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
babathakur855
Warnings : 1

New User


Joined: 19 Feb 2008
Posts: 2
Location: Pune

PostPosted: Thu May 15, 2008 11:44 am    Post subject: How can we find out who created a particular dataset?
Reply with quote

How can we find out who created a particular dataset?
Back to top
View user's profile Send private message
References
PostPosted: Thu May 15, 2008 11:44 am    Post subject: Re: How can we find out who created a particular dataset? Reply with quote

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2435
Location: Brussels once more ...

PostPosted: Thu May 15, 2008 12:10 pm    Post subject:
Reply with quote

SMF type 61 records should do the trick

Example on the forum - I posted it
Back to top
View user's profile Send private message
babathakur855
Warnings : 1

New User


Joined: 19 Feb 2008
Posts: 2
Location: Pune

PostPosted: Thu May 15, 2008 1:05 pm    Post subject: Please eloborate it
Reply with quote

expat wrote:
SMF type 61 records should do the trick

Example on the forum - I posted it


Hi,

I am not able to get your point on SMF type 61 could you please eloborate where exactly i need to specify this?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2435
Location: Brussels once more ...

PostPosted: Thu May 15, 2008 2:23 pm    Post subject:
Reply with quote

The system will create SMF records for each and every event that happens on the system, unless they have been switched off for particular functions, which is most rare.

Type 61 records are for the creation of a catalog record, i.e. a dataset is being cataloged which in 99.99% of cases means being created.

The job below which you could not find, or perhaps bother looking for, will extract the information from the required SMF records to answer your question.

May I suggest that you swat up on SMF data as it really is quite useful at times.

Code:

//EXTRACT  EXEC PGM=SORT                     
//SYSOUT   DD SYSOUT=*                       
//SORTIN   DD DSN=Dumped SMF dataset
//SORTOUT  DD DSN=Your output dataset         
//            DISP=(,CATLG,DELETE),           
//            SPACE=(TRK,(75,75),RLSE),       
//            RECFM=FB,LRECL=330             
//SYSIN    DD *                               
 SORT      FIELDS=COPY                       
 INCLUDE   COND=(6,1,CH,EQ,X'3D',AND,         
                 121,44,SS,EQ,C'Find this DSN')
 OUTFIL    OUTREC=(51,8,X,67,8,X,121,44)     
Back to top
View user's profile Send private message
Moved: Thu May 15, 2008 4:51 pm by superk From CLIST & REXX to SMS & VSAM
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1