You can determine that by looking at the CSCB (CHTRKID).
Or check for ASCBTSB non-zero.
If you want to look at the description of the TSB, look at IKJTSB (which is
in SYS1.MACLIB).
If want to look at it via a program, you're going to have to do some
cross-address processing, e.g. SRB.
Actually, it's in common storage but you will need to
be in Key0 (or Key6 I think).
From: Richard Tsujimoto <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <[email protected]>
To: [email protected]
Subject: Re: Terminal Status Block(TSB) - where to find its description
Date: Tue, 5 Sep 2006 08:59:06 -0400
I wrote a similar program (many years ago - I actually still have the
source code). If all you needs is the userid, then take it from ASCBJBNS.
But, you need to confirm whether or not the ASCB is for a TSO user. You
can determine that by looking at the CSCB (CHTRKID). If you want to look
at the description of the TSB, look at IKJTSB (which is in SYS1.MACLIB).
If want to look at it via a program, you're going to have to do some
cross-address processing, e.g. SRB. I have some source code if you want
it...email me off-line.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
_________________________________________________________________
Windows Live Spaces is here! ItÂ’s easy to create your own personal Web site.
http://spaces.live.com/signup.aspx
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html