Display User Profiles to an Outfile
DSPUSRPRF USRPRF(*ALL) OUTPUT(*OUTFILE) OUTFILE(MYLIB/USRPRFS)
Create a Query to access MYLIB/USRPRFS and include the field UPPSOD, Previous Sign on Date.
Should be pretty simple,
Bill
==============================================================
Be aware that you need to define "last logon date" before you can be certain. A user profile might "logon" through FTP on a V5R3 system for example, but that logon <b>will not</b> be shown as the 'Previous sign-on' date and time.
There are many ways to "logon". If you want to know if a user profile is in use, you cannot rely on the 'Previous sign-on' date and time.
Tom
Last Wiki Answer Submitted: August 10, 2010 1:59 am by wpoulin2,480 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.