IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find if an IBM ID logged in or not


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maheshk84

New User


Joined: 04 Jan 2006
Posts: 22
Location: Chennai

PostPosted: Tue Mar 18, 2008 8:49 pm
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
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 18, 2008 8:59 pm
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: 22
Location: Chennai

PostPosted: Tue Mar 18, 2008 9:06 pm
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

Active Member


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

PostPosted: Tue Mar 18, 2008 9:23 pm
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: 22
Location: Chennai

PostPosted: Tue Mar 18, 2008 10:06 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top