How can i check user last login after 3 month and disable?

25 pts.
Tags:
AS/400
AS/400 programming
AS/400 user profiles
In AS/400 system. My company have 600 user that use AS/400. How can i check users last login after 3 month and disable these users?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can do DSPUSRPRF *ALL to an outfile.
Then use the previous signon date to determine if it is more tham 3 months.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jfranz
    GO SECTOOLS (ibm menu) It has options for this. No matter how you do this (SECTOOLS or the DSPUSRPRF) be care not to expire profiles the do not sign on (like QUSER , or your own profiles for ftp, odbc, etc...) Last Signon means sign on to an interactive session, not last use. As with all security - understand it before you change it.
    55 pointsBadges:
    report
  • trionttt
    if i would like to coding program for check this requirement, what is program procedure?
    25 pointsBadges:
    report
  • Splat
    Why code anything? ANZPRFACT will disable all profiles inactive after the specified number of days (review the help text for a list of profiles unaffected by this command). The active profile list (I'll leave it to you to find the relevant commands) will let you exclude from consideration any other profiles.
    6,885 pointsBadges:
    report
  • trionttt
    Thank you very much Splat. This command is useful for me. Anyway, I have another question for anyone help. How can i check user status was disabled after 3 months and i will delete these users?
    25 pointsBadges:
    report
  • Splat
    For that you couldn't do much better than to follow CharlieBrowne's suggestion.
    6,885 pointsBadges:
    report
  • epargne
    try GO CMDACT and check option 14 to display then 6 to change
    40 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following