165 pts.
 SENDING A BREAK MESSAGE
I HAVE WRITTEN A CL PROGRAM WHICH USES QEZSNDMG TO SEND A BREAK MESSAGE TO SPECIFIC USERS. IT WORKS PERFECTLY EXCEPT IF THE USER ISN'T SIGNED ON, HE DOES NOT GET THE MESSAGE UNLESS HE DOES A DSPMSG. IS THERE A WAY TO MAKE THE MESSAGE AUTOMATICALLY POP UP AFTER THE USER SIGNS ON?

Software/Hardware used:
ASKED: March 8, 2007  9:13 PM
UPDATED: January 3, 2010  12:06 PM

Answer Wiki:
When you define a user profile you can assign an initial program to be run when the user signs on. We use a CL program with the commands: RTVJOBA JOB(&USRJOB) USER(&USRPRF) CHGMSGQ MSGQ(&USRJOB) DLVRY(*BREAK) CHGMSGQ MSGQ(&USRPRF) DLVRY(*BREAK) The first retrieves the name of the workstation and the user signed on, the next two put both associated message queues into break mode. The act of putting the message queue into break message will display any messages currently on the queue. In our shop we actually clear the message queues first because we don't want old messages to clog up the display unless the user is a *SYSOPR or above. Hope it helps Jonathan
Last Wiki Answer Submitted:  March 9, 2007  2:35 am  by  astradyne   370 pts.
All Answer Wiki Contributors:  astradyne   370 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Break messages are designed to break into an active session if the session is not active then the break doesn’t happen and there is no may to tell it to break later. The change you might need to make is for those selected users to change their initial program to do a dspmsg or change it to break mode when they signon and then change it back before running their normal signon program.

 0 pts.

 

Also, users can turn break messages off. If break messages are turned off, you can’t break in. It all depends on how much control you have over user jobs.

Tom

 108,055 pts.