Problem solve Get help with specific problems with your technologies, process and projects.

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.


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.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.