Determine if TSO user is online
Posted: Thu Jul 18, 2013 7:14 am
I am trying to write a process to determine if a TSO user is online. I did this something like 30 years ago, and that code is long lost. My recollection is I got an ASCB address from the ASVT, then got the ASXB from the ASVT. I remember I had to do something funky from the ASXB to get the TSO userid, but I don't remember what that was.
Looking through the ASXB I see ASXBUSER, which I don't remember from 30 years ago. ASXBUSER , from its length, does appear to be a TSO userid. My concern is that ASXBUSER reflects a RACF userid for a batch job, which is not what I want. Other than that the code seems to be OK.
Perhaps someone with a fresher memory than mine can help me.
Looking through the ASXB I see ASXBUSER, which I don't remember from 30 years ago. ASXBUSER , from its length, does appear to be a TSO userid. My concern is that ASXBUSER reflects a RACF userid for a batch job, which is not what I want. Other than that the code seems to be OK.
Perhaps someone with a fresher memory than mine can help me.