Sending Users Messages - SNDBRKMSG
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
Sending Users Messages - SNDBRKMSG
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.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Sending Users Messages - SNDBRKMSG
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.
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.
-
- Profound User
- Posts: 60
- Joined: Tue Mar 17, 2015 12:48 pm
- First Name: Rick
- Last Name: Asaro
- Company Name: MISD
- Country: United States
- Contact:
Re: Sending Users Messages - SNDBRKMSG
Ok Scott, thanks. Makes sense.
Who is online
Users browsing this forum: No registered users and 5 guests