Ok, Bill.  Lightbulb time.  It's tucked away in the ASSB. ASSBSTKN.  The
OS creates it when it creates an address space.  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of (IBM Mainframe Discussion List)
Sent: 22. elokuuta 2008 22:07
To: [email protected]
Subject: Re: Trying to figure out IEAMSCHD

 
 
In a message dated 8/22/2008 1:55:15 P.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:
>Which parameter on IEAMSCHD tells it the address space it is to run
in?
 
TARGETSTOKEN.  "Specifies the space token (STOKEN) of the address  space
in 
which the SRB routine is to receive control" [meaning run in].
 
Next you'll have to find out how to get the STOKEN for the address space
in  
which you are interested.  I don't know for sure, but I would try
looking  in 
the ASCB DSECT (the macro is named IHAASCB).
 
>It'll be my first SRB.
 
Good luck.  :-)
 
Bill  Fairchild
Rocket Software

----------------------------------------------------------------------
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

Reply via email to