Page 1 of 1
					
				Sending Users Messages - SNDBRKMSG
				Posted: Thu Sep 24, 2015 9:32 am
				by rasaro
				It looks like SNDBRKMSG does not work in Genie?  What is the best method for messaging users in Genie?  Some of our update programs that run in batch send a break message to the user to alert them if the job completed normally.  Also, sometimes we need to send a message to all of the users on the system and we currently use SNDBRKMSG to do this.
			 
			
					
				Re: Sending Users Messages - SNDBRKMSG
				Posted: Thu Sep 24, 2015 11:33 am
				by Scott Klement
				Rick,
It's not possible for a program on IBM i to initiate a connection to the web browser.  The browser must always initiate all connections to the server, and not vice-versa.  So, SNDBRKMSG cannot interrupt a users screen in a browser.  But, Genie should see the break message the next time it submits/receives another screen from the server.
I gave a much more detailed, technical answer to this in the following thread:
http://www.profoundlogic.com/forum/view ... =38&t=2114
For sending out a message to all of your users, I would use e-mail.  This is a much more modern approach, and will even reach people who are not usimg 5250 displays. :-)
For notifying if a job is completed, they should see the notification the next time they submit a screen.
 
			
					
				Re: Sending Users Messages - SNDBRKMSG
				Posted: Thu Sep 24, 2015 12:50 pm
				by rasaro
				Ok Scott, thanks. Makes sense.