5 pts.
 AS400 Directories
Is there a command that will let me know who created a certain directory in AS400?

Software/Hardware used:
ASKED: July 28, 2009  8:39 AM
UPDATED: July 28, 2009  7:04 PM

Answer Wiki:
If you mean a folder in the Integrated File System, then you need to use Navigator right click the object, and there the owner is shown. - pretty much the same for any object in Qsys. - Pity Mr Gates didn't think of something like that when he pinched the DOC basis of Winx /////////////////////////////// With WRKLNK and option 8 can give you the owner but not necessarily the creator. Even with APIs you can't get the creator of a file or dir in the IFS. Wilson _____________________________________ If you have your security audit journal active (sysval QAUDCTL and QAUDLVL), just do a DSPJRN of your audit journal (usually QAUDJRN) and filter for the CREATE journal code.
Last Wiki Answer Submitted:  July 28, 2009  4:21 pm  by  WilsonAlano   2,385 pts.
All Answer Wiki Contributors:  WilsonAlano   2,385 pts. , Yorkshireman   5,505 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Using EDTF command you can also view directory information.

for example: EDTF then prompt it:

Edit File (EDTF)

Type choices, press Enter.

Stream file, or . . . . . . . . _____________________________
Data base file . . . . . . . . . __________ Name
Library . . . . . . . . . . . *LIBL_____ Name, *LIBL, *CURLIB

for the stream file, key in the path, such as:

Edit File (EDTF)

Type choices, press Enter.

Stream file, or . . . . . . . . ‘/tbob’_____________________________________
Data base file . . . . . . . . . __________ Name
Library . . . . . . . . . . . *LIBL_____ Name, *LIBL, *CURLIB

Then you will view directory bob:

Directory: /bob                                                                                                
Position to : __________     Record : ______1  of       3                                                      
New File : ____________________________________________________________________________________________________
2=Edit  4=Delete File   5=Display  6=Path Size   9=Recursive Delete                                            
                                                                                                               
Opt Name                             Size  Owner              Changed             Used                      CCSID or Link         
_     ACPXX1AC.rpgsp         16K  THOWARD      05/05/03 07:00  05/05/03 07:00     CCSID =   819               
_     FORECAST1.rpgsp      16K  THOWARD      04/30/03 09:18  04/30/03 09:24     CCSID =   819               
_     achicppa.csv            4,096K  THOWARD      04/16/03 05:46  05/02/03 07:01     CCSID =    37
 110 pts.