MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to know Creator ID of a Dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
abyson_ta
Beginner


Joined: 20 Nov 2004
Posts: 3
Topics: 1

PostPosted: Sat Nov 20, 2004 3:47 am    Post subject: How to know Creator ID of a Dataset Reply with quote

How could we get TSO-UserID of the creator of a particular Sequential/Partioned dataset. (not PDS member)

I tried LISTCAT command for a PDS created using ISPF 3.2 option. But DATASET-OWNER field was shown as (NULL).
_________________
Thanks,
Aby
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Sat Nov 20, 2004 4:21 am    Post subject: Reply with quote

abyson ta,

Did u try this link ?
http://www.mvsforums.com/helpboards/viewtopic.php?t=1253&highlight=smf

You need to parse the information stored in SMF records (System Management Facility). You may need to parse SMF 14 / SMF 15 to get the information u want.

Look at this manual.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2G232/13.19?DT=20030423115805

Thanks,
Phantom
Back to top
View user's profile Send private message
abyson_ta
Beginner


Joined: 20 Nov 2004
Posts: 3
Topics: 1

PostPosted: Sun Nov 21, 2004 4:50 am    Post subject: Reply with quote

Phantom,
Thankyou very much for the suggestion.

I wanted to know who created the PDS - PROJ1.NEWPDS. So following JCL was tried for getting SMF dump for the same

//STEPU010 EXEC PGM=IFASMFDP
//DUMPIN DD DSN=PROJ1.NEWPDS,DISP=SHR
//DUMPOUT DD DSN=USERID.SMFDATA,DISP=NEW,CATLG,DELETE),
// SPACE=(CYL,(10,10),RLSE),
// DCB=(DSORG=PS,RECFM=VBS,LRECL=32760,BLKSIZE=0)
//SYSIN DD *
INDD(DUMPIN,OPTIONS(DUMP))

But only header and trailer records (record type 02 & 03) were written to output file. Following were few sysprint message lines from spool:
RECORDS READ: 84
NUMBER OF RECORDS IN ERROR: 84
ERROR TYPE: INVALID TIME OR DATE

Any idea why other records (14, 15..) were not written.
_________________
Thanks,
Aby
Back to top
View user's profile Send private message
abyson_ta
Beginner


Joined: 20 Nov 2004
Posts: 3
Topics: 1

PostPosted: Sun Nov 21, 2004 10:57 am    Post subject: Reply with quote

Hi,

I am sorry for previous posting which was made without a clear understanding of SMF concept.

In our system, SMF dataset used is HLQ1.SYSID.MAN1. So in JCL, this dsn was supplied to ddname DUMPIN.

But I didn't have RACF authorization to view it.
Quote:
ACF99913 ACF2 VIOLATION-00,02,USERID,VOLSER,HLQ1.SYSID.MAN1,N/A
ACF92913 - VSAM DATASET CANNOT BE OPENED, AUTHORIZATION IS REQUIRED.


Is there any other method by which I could know who made the last updated on my PDS.
_________________
Thanks,
Aby
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Sun Nov 21, 2004 11:29 pm    Post subject: Reply with quote

abyson ta,

To tell you the truth, I only know where the information is available. but I never tried to extract the info (meaning I Don't know how to Sad ). Probably someone else could help both of us !.

Thanks,
Phantom
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Nov 22, 2004 11:52 am    Post subject: Reply with quote

I would suggest that you are probably out of luck.
If you really want to pursue this, the SMF records are probably your only chance. But you are relying on the right records being collected, saved (and not yet deleted), and at a lot of sites this will not have been done. If the SMF method does not work, there is (in my opinion) *no* general way to retrieve this info.

If you want to get this sort of information in future you will need the appropriate SMF records turned on and retained for long enough.
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Nov 22, 2004 11:58 am    Post subject: Reply with quote

The data from HLQ.SYSID.MAN1 will be archived to tape on a regular basis. What you need to read is the archive tape that is for your date/time period. You'll need to find out where to find these tapes. There are various record types you can check. Type 14 (x'0E') when a dataset is OPENed as OUTPUT or maybe type 61 (x'3D') when a dataset is cataloged. The System Management Facilities (SMF) manual in the MVS bookshelf has the record layouts.

Regards,
Bill
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group