Adam, It's been a long time since I used to live and breathe this cross-memory stuff.
As I recall, PSAAOLD (which is what I assume you're looking at for your WTO) points to the HOME address space (i.e. your small batch job), which will be charged for the resources consumed by the PC subroutine (residing in the server address space. Regards, Alan -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Adam Johanson Sent: Thursday, May 27, 2010 12:34 To: IBM-MAIN@bama.ua.edu Subject: Same ASID in Space-Switching PC Routine So I finally have a need to write a PC routine. I've been wanting to do this for a while. However, I'm seeing something that's not behaving like I expect it to. My server address space creates the PC routine (among other things) and then just sits there. For testing, I'm calling the PC routine via a plain old batch job. In the small program run by the batch job, I WTO'd out the TCB address and ASID before invoking the PC routine, and put the same WTOs in the PC routine itself. Since it's a space-switching PC routine, I expected the ASID from the WTO in the PC routine to match the server address space, but it doesn't; it's the same ASID for the batch job. Am I not understanding something correctly? Thanks in advance, Adam Johanson IMS Systems Programming, USAA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html