0 pts.
 User Profile Information Mining
Does anyone have a method for getting information, such as "initial program", from all user profiles on the AS400 in report form? It would be especially if the report could be written to a database file.

Software/Hardware used:
ASKED: August 15, 2006  12:08 PM
UPDATED: August 15, 2006  12:15 PM

Answer Wiki:
You can execute the DSPUSRPRF command to an output file. DSPUSRPRF USRPRF(*ALL) TYPE(*BASIC) OUTPUT(*OUTFILE) OUTFILE(QGPL/USERFILE) The OUTFILE parameter can be changed to whatever file name you want and library you want it to go to. Execute the command using a profile with *ALLOBJ or *SECADM authority. When in doubt do it using QSECOFR. The file you create will contain basic information about every user profile on the system. Initial program and library is included as well as job description, output queue, accounting code, and more. This file can then be queried.
Last Wiki Answer Submitted:  August 15, 2006  12:15 pm  by  WaltZ400   645 pts.
All Answer Wiki Contributors:  WaltZ400   645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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