> Is ASID ==> STOKEN (via LOCASID/ASSBSTKN) ==> ALESERV expected to > always work, modulo permissions (not an issue here, we have EAX > authority to all address spaces)? That's what I thought I was doing. > > >You also state that "another module" tries to reference data in the > SASN - how and where is that module called and what is the cross- > memory environment when it executes? > > It's a lower-level module in the same STC. There's the code that > handles the PC (on the "STC side" of the PC), which creates and > queues the request. Later on, the request block gets pulled off the > stack and the RACROUTE is done then. So by then, we're long past > having the same HASN (I finally understand!). > > > I do feel like I'm making (very slow!) progress, thanks to all the > helpful folks here. I think tomorrow I will try to back up and sort > of start over from the "OK, it works fine for batch" point. Now that > I understand a bit more about what I'm doing, hopefully I'll get > past my mistakes.
ALESERV ADD creates an Access List Entry and returns an ALET. Keep in mind that the are limits on the size of an access list, so you can't added access list entries for an arbitrary number of address spaces (unless you are doing a corresponding ALESERV DELETE for each ALESERV ADD). Also, keep in mind that unless the address spaces you are trying to access are nonswapable, you may experience random ASTE-validity exception program checks. Also, you should be concerned about how you serialize against the freeing of an ACEE whose address you obtained from TCBSENV. Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
