OMVS has an API for requesting that an address space become non-swappable. It is called oe_env_np ENV_STOR_SERVICE with BPX_SWAP or BPX_NONSWAP as parms. Use of the BPX_NONSWAP parm is controlled by BPX.STOR.SWAP FACILITY class in RACF. The API is described in "z/OS UNIX System Services Programming: Assembler Callable Services Reference".
I've never used it myself, just defined the FACILITY class for tasks which already are coded to take advantage of the ability. Brian On Wed, 12 Jul 2006 09:35:54 -0700, Steve Samson <[EMAIL PROTECTED]> wrote: >Markus, > >Sorry, WLM can't do it. If you have OMEGAMON, you can use a command to >make any address space nonswappable. Similar products may offer the same >capability. > >Steve Samson > >damonty wrote: >> Hi >> >> I'm running a tomcat webcontainer in JZOSVM (java for zos) environment >> as started task. I would like to make it non-swappable. Is it a >> possibilty to set a WLM Profile to do that? Our >> system programmers told me they could do that but the loadmodule must >> be located in an APF library and linked AC=1. But that won't be a good >> idea because java programs can't be trusted! >> >> Could a WLM Profile do the trick? >> >> Greets >> >> Markus >> ---------------------------------------------------------------------- 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

