Is there way to tell who created a physical file member? Thanks
Is there way to tell who created a physical file member? Thanks
Dale, Do a WRKOBJ on the file. Option 8 will give you the following information: Display Object Description - Full Library 1 of 1 Object . . . . . . . : INVHDR Attribute . . . . . : QRY Library . . . . . : BRET Owner . . . . . . . : BMYRICK Type . . . . . . . . : *QRYDFN Primary group . . . : *NONE User-defined formation: Attribute . . . . . . . . . . . . : Text . . . . . . . . . . . . . . . : Test Invoice Header Record in INVHDR - INV01 feeds Creation information: Creation date/time . . . . . . . . : 02/15/00 08:17:03 Created by user . . . . . . . . . : BMYRICK System created on . . . . . . . . : ENCWIRE1 Object domain . . . . . . . . . . : *System Here you see the creator. You can also look at option 5, which generally shows the userid of the person who created it, as having *all authority, although, this method is not reliable as that can be changed. Hope this helps, Bret
Thanks Bret: That works for the file object but what I need is to find out is who added/created one of the members in the file. The file does have multiple members. Thanks
While the creator of a file object is retained, the creator of a member is not. If you look at the Retrieve Member Description API (QUSRMBRD), you can see what information about file members is available. The API information is available at: http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/QB3AMI02/1.17#HDRRTVMBRD Jerry Hensley
Dale, Duhh! If I took the advice I gave my kids and read the WHOLE message, I'd have seen that. Thought that was a little too basic of a question for you to post. Should'a followed my gut. 'Course, with the size of my gut, I could follow it forever....If you use WRKMBRPDM and specify a file, you can use option 8 to get the Display Member Description. This does nothing for WHO created the member, but it will narrow it down to Date, Time, etc. Only thing I could find without an API, and I don't know APIs that well. Bret
Oh well, I had already looked at the parms of the API'S and tried every type of dspfd, wrkobj, dspobjd etc.. But I thought I would ask anyway. I was hoping there was something in "C", Rexx or Java that someone might have written. Thanks for the responses.