Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Find if an IBM ID logged in or not

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
maheshk84

New User


Joined: 04 Jan 2006
Posts: 12
Location: Chennai

PostPosted: Tue Mar 18, 2008 8:49 pm    Post subject: Find if an IBM ID logged in or not
Reply with quote

Is it possible to find if a mainframe ID is logged in to the TSO session or not?
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3264
Location: Charlotte,NC USA

PostPosted: Tue Mar 18, 2008 8:59 pm    Post subject: Reply to: Find if an IBM ID logged in or not
Reply with quote

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
View user's profile Send private message
maheshk84

New User


Joined: 04 Jan 2006
Posts: 12
Location: Chennai

PostPosted: Tue Mar 18, 2008 9:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 311
Location: Iowa, USA

PostPosted: Tue Mar 18, 2008 9:23 pm    Post subject:
Reply with quote

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
View user's profile Send private message
maheshk84

New User


Joined: 04 Jan 2006
Posts: 12
Location: Chennai

PostPosted: Tue Mar 18, 2008 10:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1