Retrieve Genie/PUI status for break messages
Posted: Tue Sep 13, 2022 6:36 pm
Hello,
We have a program called SHOUT that we use to send break messages to Users' workstations (with the option to send to a specific user vs all users). I am trying to modify this program so that we can use PUISNDMSG (https://docs.profoundlogic.com/display/ ... k+Messages) for Genie sessions instead of SNDBRKMSG. The current program is determining user sessions by calling WRKUSRJOB and writing all the interactive jobs to a file. Is there a way to determine if these sessions are Genie sessions? Currently we are using the default workstation IDs that are used by the green screens so that is not an option. We are using PUISETENV to determine the Genie status within a job. Is there a way to read this from another job?
As a follow up question, is there a way to send a break message to only one Genie session if a user has multiple sessions open? The current documentation says that it always broadcasts to every session. This would be useful for a number of our programs.
Thanks,
We have a program called SHOUT that we use to send break messages to Users' workstations (with the option to send to a specific user vs all users). I am trying to modify this program so that we can use PUISNDMSG (https://docs.profoundlogic.com/display/ ... k+Messages) for Genie sessions instead of SNDBRKMSG. The current program is determining user sessions by calling WRKUSRJOB and writing all the interactive jobs to a file. Is there a way to determine if these sessions are Genie sessions? Currently we are using the default workstation IDs that are used by the green screens so that is not an option. We are using PUISETENV to determine the Genie status within a job. Is there a way to read this from another job?
As a follow up question, is there a way to send a break message to only one Genie session if a user has multiple sessions open? The current documentation says that it always broadcasts to every session. This would be useful for a number of our programs.
Thanks,