Sending a message to all users
I want to use CL to send a message to all users in a department. The tricky part is, I want it to break in all of their (Client Access) sessions, and not just the one the message queue is tied to. Any ideas?
If you know the list of users, you can use the API QUSLJOB. This API will list all of the jobs in the system. You can also specify the type and status of the jobs you want to retrieve. Once you have the list, send messages to each workstation (Job name) for the list of users you want to notify. If you search for QUSLJOB, there should be at least four or five posts in the "Ask the Experts" area giving details of this API and how to use it.
==================================
MORE INFORMATION ON THIS TOPIC
==================================
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Dig Deeper on iSeries CL programming

Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.
Meet all of our AS/400 experts
View all AS/400 questions and answers
Start the conversation
0 comments