|
View previous topic :: View next topic
|
| Author |
Message |
maheshk84
New User
.jpg)
Joined: 04 Jan 2006 Posts: 22 Location: Chennai
|
|
|
|
| Is it possible to find if a mainframe ID is logged in to the TSO session or not? |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, 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. |
|
| Back to top |
|
 |
maheshk84
New User
.jpg)
Joined: 04 Jan 2006 Posts: 22 Location: Chennai
|
|
|
|
| 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. |
|
| Back to top |
|
 |
Bill Dennis
Active Member

Joined: 17 Aug 2007 Posts: 562 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. |
|
| Back to top |
|
 |
maheshk84
New User
.jpg)
Joined: 04 Jan 2006 Posts: 22 Location: Chennai
|
|
|
|
| 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..? |
|
| Back to top |
|
 |
|
|