Re: How determine if current address space is swappable?

2018-04-24 Thread Mike Baldwin
Ed,

Thank you, I had the same question.

(Charles: Thanks for asking!)

Regards,
Mike Baldwin
Cartagena Software Limited
Markham, Ontario, Canada
http://www.cartagena.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How determine if current address space is swappable?

2018-04-17 Thread Charles Mills
ASCBOUCB->OUCB

Thanks,

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ed Jaffe
Sent: Tuesday, April 17, 2018 1:26 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How determine if current address space is swappable?

On 4/17/2018 1:22 PM, Charles Mills wrote:
> How would a program (in assembler, presumably, and FWIW authorized) answer
> the question "is my address space swappable?"

Look at the OUCB. There are numerous flags in there.

For example, OUCBNSW indicates "non swappable".

-- 
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole  use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not a intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message  and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: How determine if current address space is swappable?

2018-04-17 Thread Ed Jaffe

On 4/17/2018 1:22 PM, Charles Mills wrote:

How would a program (in assembler, presumably, and FWIW authorized) answer
the question "is my address space swappable?"


Look at the OUCB. There are numerous flags in there.

For example, OUCBNSW indicates "non swappable".

--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole  use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not a intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message  and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


How determine if current address space is swappable?

2018-04-17 Thread Charles Mills
How would a program (in assembler, presumably, and FWIW authorized) answer
the question "is my address space swappable?"

Phrasing the question differently, SYSEVENT DONTSWAP/OKSWAP/TRANSWAP sets
the swappable/non-swappable status of the current address space; what
function queries that status?

I'm good with either a MACRO or control block chaining. The latter would
probably be simpler for me to implement. My preference would be GUPI.

Charles 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN