Retrieve Genie/PUI status for break messages

Use this board to ask questions or have discussions with other Genie users.
Post Reply
hdavolt
New User
Posts: 12
Joined: Thu Jul 15, 2021 5:06 pm
First Name: Harel
Last Name: Davolt
Company Name: Pratt Industries
Contact:

Retrieve Genie/PUI status for break messages

Post 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,
hdavolt
New User
Posts: 12
Joined: Thu Jul 15, 2021 5:06 pm
First Name: Harel
Last Name: Davolt
Company Name: Pratt Industries
Contact:

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

Post 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?
User avatar
Emily
Profound Logic Staff Member
Posts: 89
Joined: Tue Jun 21, 2016 8:30 am
First Name: Emily
Last Name: Seage
Company Name: Profound Logic
Contact:

Re: Retrieve Genie/PUI status for break messages

Post 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!
Emily Seage
Support Team Lead
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests