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

Reply via email to