Joined: 26 Apr 2004 Posts: 3380 Location: Charlotte,NC USA
The best way I can think of is to go out to the spool and look for any jobs with a jobtype of TSU (those are TSO users) that are in an EXECUTING status.
I have a list of mainframe ids. Whenever needed, I have to check if people are logged in or not... If I can get a TSO command, I can create a panel for it.
Joined: 17 Aug 2007 Posts: 333 Location: Iowa, USA
The TSO command "STATUS tsojobnm" can be used to see if they're currently executing. The value for tsojobnm is the system-generated JOBNAME for their TSO session.
Thanks Bill. Is there any variable to check if the id is executing or not found..? Or is that possible to extract the information that is getting displayed in to a variable..?