April 1, 1981 When the PURGESYS function is executed; CP releases the storage, and
associated page and swap tables, that were acguired when the LOADSYS function was executed. If the storage occupied by
the named segment was beyond the defined virtual machine storage size,
that storage is no longer addressable by the virtual machine. When a PURGESYS function is executed for a segment that was loaded in
nonshared mode, the storage area is cleared to binary zeros. If PURGESYS is invoked for a named segment that was not previously loaded
via LOADSYS, the request is ignored.
A condition code of 0 in the PSi indicates successful A condition code of 1 in the PSi indicates that the named segment was
not found in the virtual machine.
A condition code of 2 in the PSW an'd a return code of 44 in the Ry register indicate that the named segment either does not exist or was
not previously loaded via the LOADSYS function. When the FINDSYS function is executed, CP checks that the named segment
exists and that it has not been loaded previously.
A condition code of 0 in the PSi indicates that the named segment is
already loaded. The address at which it was loaded is returned in the register specified as Rx and its highest address is returned in the Ry reqister. A condition code of 1 in the PSW indicates that the named segment
exists but has not been loaded. In this case, the address at which the
named segment is to be loaded is returned in the register specified as
Rx and the hiqhest address of the named segment is returned in the Ry register. A condition code of 2 in the PSW indicates the FINDSYS function did
not execute successfully. Examine the return code in the Ry register to
determine the error that occurred. Retu£!l 44
177 t!eaning Named segment does not exist
paging I/O errors DIAGNOSE Code X'68' --Virtual Machine
Communication Facility (VMCF)
The DIAGNOSE Code X'68' is used by a virtual machine to initiate a
subfunction of the virtual Machine Communication Facility (VMCF). The
qeneral register specified as Rx contains the virtual address,
doubleword aligned, of a parameter list (VMCPARM). One of the entries
in this para-m-eter li-s-t -is a- - subfunctioIl-code, specifying the particular
request being initiated. The subfunctions and their codes are: Part 2. Control Program (CP) 203
Page of GC20-1807-7 As Updated April 1, 19S1 by TNL GN25-0S29 AUTHORIZ E UN AUTHORIZE SEND SEND/RECV SENDX RECEIVE CA NCEL REPLY QUIESCE RESUME IDENTIFY REJECT X'OOOO' X'OOOl' X'0002' X'0003' X'0004' X'OOOS' v,nnnci ..n. vvvu- X'0007' X'OOOS' X'0009' X'OOOA' X'OOOB' A description of all the fields of the VMCPARM is contained in the
section "Virtual Machine Communication Facility."
The general register specified as Ry will
upon completion of DIAGNOSE X'6S' or the
condition. The return codes are contained
Machine Communication Facility. II contain the return code
detection of an error
in the section IIVirtual Rx and RV can be any general register, RO through R1S. They may also.
be the same register. DIAGNOSE Code X'74' -- Saving or Loading a 3800 Named System DIAGNOSE Code X'74' is invoked to save an image library as a 3S00 named
system or to load a named system into virtual storage when that named
system is required by the 3S00 printer.
When the DIAGNOSE Code X'74' is invoked, the Rx, Rx+1, Ry, and Ry+1
registers must contain the following: Registers Rx and Rx+l -must contain the eight-character name of the
system to be saved or loaded, left-justified and padded with blanks. Register Ry -must contain the virtual address at which to start
savinq or loading the named system. Register Ry+1 -must contain a X'OO' in the high order byte if a LOAD operation is required, and a X'04' for a SAVE operation. The
remainder of the register must contain the number of bytes to be
saved or loaded into virtual storage.
A specification exception occurs if Register 1S is specified in
either Rx or RV, or if the virtual address specified in Ry is not on a
page boundary. If the area to be saved or loaded extends beyond the
user's virtual storage, an addressing exception occurs. Finally, a
privileged operation exception results if the user does not have
privileged class A, B, or C. These exceptions cause abnormal
termination (abend) and the user is notified.
When DIAGNOSE Code X'74' processinq completes, one of the following
condition codes is placed into register Ry and returned to CP: Re!.!!£.!!. X' 00' X' 04' X' OS' load/save successfully performed
named system not found
named system currently active 204 IBM VM/3 7 0 System Programmer's Guide
Previous Page Next Page