How can I see when a user signs onto iSeries to check their profile?

5 pts.
Tags:
IBM iSeries
iseries v5r4
V5R4M0
I need to know a user signs on the iSeries so I can check the profile aganist a file to disable the profile or not. How can I get this information??

Software/Hardware used:
iSeries V5R4M0

Answer Wiki

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

See this thread: http://itknowledgeexchange.techtarget.com/itanswers/how-to-know-user-logged-in-or-not/.

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
  • TomLiotta
    ...so I can check the profile aganist a file to disable the profile or not. What difference does it make if they logon or not? Just check each profile "against the file" and *DISABLE the ones that should be disabled. Tom
    125,585 pointsBadges:
    report
  • Abigail
    Is this a particular user? If so, DSPLOG PERIOD((080000 062110)) OUTPUT(*PRINT) JOB(*NONE) MSGID(CPF1124) Unfortunately, this will show all jobs started in the system (not only log on jobs). Scan the opurput for the particular user. I'm sure there is a better way but this should work providing the user(s) is logging off at the end of the shift. Keep in mind, if you are setting up scheduled entries to disable users during speficied times, if the user is logged on prior to the scheduled job processing, they will have access providing they do not log off.
    645 pointsBadges:
    report
  • TomLiotta
    This thread -- http://itknowledgeexchange.techtarget.com/itanswers/how-to-know-user-logged-in-or-not/ -- does not address the question. It neither supplies logons nor logoffs; it only supplies job starts and job ends. Logons can happen without having a new job starting, and logoffs can happen without having a job ending. Most jobs start without a logon, and most jobs end without a logoff. Tom
    125,585 pointsBadges:
    report
  • NeilD
    If you are using your File as a running authority check for users, why not add an initial program to each user profile which checks the file and signs off if necessary (or disables the usrprf etc). Neil.
    475 pointsBadges:
    report
  • Teandy
    This thread — http://itknowledgeexchange.techtarget.com/itanswers/how-to-know-user-logged-in-or-not/ — does not address the question. Actually, it does. If you use the second example in the thread, http://www.rpgiv.org/QBATCHLOG.htm, as your model and change the data queue to look at QINTER rather than QBATCH, it will tell you the time, date, user profile, job name and job number each time the user signs on or off. The first example actually gives better instructions and cleaner sample code on how to make this work.
    5,860 pointsBadges:
    report
  • TomLiotta
    look at QINTER Unfortunately, most logons don't happen in QINTER nor in any interactive subsystem. See how do I remove cpiad0b from qhst or stop it going there in the first place for a basic example area. This is what leads to question "How do you define 'signs onto iSeries'?" I can guarantee that a compliance auditor won't be pleased when s/he discovers that a majority of "sign ons" are being allowed to happen without logging. A telnet connection is generally less important than a remote database connection for example. Telnet more often has "menu-based" styles of security that can make it almost unnecessary to track them. But network accesses in such an environment may allow far more access than green-screen applications would. Tom
    125,585 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