Q: To report an error condition, I'd like to write a program that sends a user a message. If the user is signed on, I'd like to send a message to that user's message queue. If the user isn't signed on, I'd rather send an e-mail to the user's pager. How can I tell whether the user is signed on? A: To determine whether a user is signed on, use the List Signed-On Users (QEZLSGNU) API. This API lists the terminals that a user is signed on to, and it excludes batch jobs. If the ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.