15 pts.
 Tracking a Programs use
I have a program on my i5 system, that no one is to be using. Is there a way to track the program to see if ayone uses it?

Software/Hardware used:
AS400
ASKED: Dec 9, 2009  2:20 PM GMT
UPDATED: December 10, 2009  9:29:47 PM GMT
5,665 pts.

Answer Wiki:
If you do not want anyone to use the program, it would be easier and wiser to exclude public use to the object:

wrkobj library/program *pgm. option 2 to edit authority, then change user *PUBLIC to *EXCLUDE.
or EDTOBJAUT library/program *pgm
or GRTOBJAUT OBJ(library/program) OBJTYPE(*PGM) USER(*PUBLIC) AUT(*EXCLUDE)

To stick to your request though, use the command to Change Object Auditing (CHGOBJAUD) for the program. Then you can view the audit log for all access to the program if that is what you want.
Last Wiki Answer Submitted:  Dec 9, 2009  7:11 PM (GMT)  by  Whatis23   5,665 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

DSPOBJD will give you the last date someone used the program

 24,725 pts.

 

If I use the CHGOBJAUD where and how can I view the audit of the object.

 15 pts.