April 1, 1981
Before theLOADSYS 320K r I l I I I All storage I Addressable by I virtual Machine I I I V OKL -J CMS Virtual Machine
without a NamedSegment Attached
AfterLOADSYS Function
__ ____ _____ _ I I I Discontiguous Storage Addressable by Virtual Machine ./1111//1/////11111/1/11// • • /Storage Not Addressable/ • • lllby Virtual Machinel///. 111111111//1/1//11/1/11//. __ l I Storage Still Addressable by Virtual Machine I , eMS virtual Machine with
a NamedSegment Attached Figure 24. Addressable Storage Before and After a LOADSYS Function When you save a named segment that is later loaded by the LOADSYS function, you must be sure that the addresses at which segments are
saved are correct and that they do not overlay required areas of storage
in the virtual machine. This is crucial because theLOADSYS function
invokes the function before it builds the new page and swap
tables.CP purges all saved systems that are overlayed in any way by
the saved system it is loadinq.
A condition code of0 in the PSi indicates that the named segment was
loaded successfully; the Rx register contains the load address.
A condition code of 1 in thePSi indicates the named segment was
loaded successfully within the defined storage of the virtual machine.
The Rx reqister contains the address at which the named segment was
loaded. The Ry register contains the ending address of the storage
released before the named segment was loaded.MQte: CMS only allows named segments to be attached beyond the defined
size of the virtual machine.
A condition code of 2 in thePSi indicates the LOADSYS function did
not execute successfully. Examine the return code in theRV register to
determine the cause of the error.ReiY.t!l 44
177,t!ganing Named segment does not exist Paginq IIO errors 202 IBM VM/370 System Programmer's Guide
Before the
without a Named
After
__ ____
a Named
saved are correct and that they do not overlay required areas of storage
in the virtual machine. This is crucial because the
invokes the
tables.
the saved system it is loadinq.
A condition code of
loaded successfully; the Rx register contains the load address.
A condition code of 1 in the
loaded successfully within the defined storage of the virtual machine.
The Rx reqister contains the address at which the named segment was
loaded. The Ry register contains the ending address of the storage
released before the named segment was loaded.
size of the virtual machine.
A condition code of 2 in the
not execute successfully. Examine the return code in the
determine the cause of the error.
177