Page 1 of 1

Retrieve Genie/PUI status for break messages

Posted: Tue Sep 13, 2022 6:36 pm
by hdavolt
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,

Re: Retrieve Genie/PUI status, send message to one session

Posted: Wed Sep 21, 2022 11:48 am
by hdavolt
Update on this, we were able to pull the list of active Genie sessions using the

Code: Select all

PUI_GetInstJobs('PROFOUNDUI')
CTF.

However, we are still looking for a way to send a message to a single Genie session (rather than all of the user's sessions). Is there a way to do this?

Re: Retrieve Genie/PUI status for break messages

Posted: Thu Sep 22, 2022 8:06 am
by Emily
Hi hdavolt,

At this time, we do not offer the ability to send a message to a single session. Our break messages functionality was built to send a message to the user in every session that they have open at that time.

Thanks!