I use something along the lines of : MVC ASID_POS,=CL3'IN' Assume IN IF (TM,OUCBQFL,OUCBGOO+OUCBGOI+OUCBGOB,NZ) MVC ASID_POS,=CL3'<->' indicate transition ELSEIF (TM,OUCBQFL,OUCBOUT+OUCBLSW,NZ) MVC ASID_POS,=CL3'OUT' indicate OUT ELSEIF (TM,OUCBSFL,OUCBNSW,O) MVC ASID_POS,=CL3'N/S' indicate non-swap ENDIF
Rob Scott Lead Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: 04 April 2011 16:31 To: [email protected] Subject: Re: Determining if address space is swapped out Thanks. So OUCBGOO in OUCBSFL is the best indicator for is or is being swapped out? Or OUCBLSW? (I do like OUCBGOI, documented as "transitioning into core." I thought we had pretty much transitioned out of core about forty years ago.) CM -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Rob Scott Sent: Monday, April 04, 2011 8:01 AM To: [email protected] Subject: Re: Determining if address space is swapped out I would use OUCBSFL and OUCBQFL (see IRAOUCB in MODGEN) Rob Scott Lead Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: 04 April 2011 15:52 To: [email protected] Subject: Determining if address space is swapped out I have an application that consists of two parts, system exit code and a started task. I would like to count the number of times the exit code was driven and determined that the started task was swapped out. What is the best indicator of "address space is at this moment swapped out"? (Yes, I do know that any such determination is valid for an instant and could change in the next instant. I'm not going to make any code logic decisions based on this determination, just count them for subsequent human analysis.) What's the best or most definitive indicator? ASCBOUT in ASCBRCTF? ASCBLSAS in ASCBFLG1? !ASCBNOQ in ASCBDSP1? Or something else? Yes, I know that none of the above are GUPI. I understand the risks of taking my chances. Thanks, Charles ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1209 / Virus Database: 1500/3548 - Release Date: 04/03/11 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

