5. CONMODE 3270 is not supported for disconnected users. DIAGNOSE Code X'5C' --Error Message Editing I Privilege class G
Execution of DIAGNOSE Code X'5C' causes the editing of an error message
according to the user's setting of the EMSG function.
Entry Values: Rx contains the address of the message to be edited. Ry contains the
length of the message to be edited.
Exit Values: DMKHVC tests the VMMLEVEL field of the VMBLOK and returns
to the caller with Rx and Ry modified as follows:
VMMLEVEl Registers on Return VMMCODE Rx Ry ON ON no change no change ON OFF no change 10 (length of
code) OFF ON pointer to text length of text
part of message alone OFF OFF N/A 0 Note: DIAGNOSE Code X'5C' does not write the message; it merely rearranges
the starting pointer and length. For CMS error messages, a console write is perĀ­
formed following the DIAGNOSE unless Ry is returned with a value of O. DIAGNOSE Code X'60' -Determining the Virtual Machine Storage Size I Privilege class G
Execution of DIAGNOSE Code X'60' allows a virtual machine to determine its
size. On return, the register specified as Rx contains the virtual machine storage
size. DIAGNOSE Code X'64' -Finding, Loading, and Purging a Named Segment I Privilege class G
Execution of DIAGNOSE Code X'64' controls the linkage of discontiguous saved
segments.
Entry Values: The type of linkage that is performed depends upon the function subĀ­
code in the register specified as Ry.
DIAGNOSE Instruction in a Virtual Machine 253
The LOADSYS Function
Subcode Function X'OO' LOADSYS -- Loads a named segment in shared mode X'04' LOADSYS -- Loads a named segment in nonshared mode X'08' PURGESYS -- Releases the named segment from virtual storage X'OC' FINDSYS -- Finds the starting address of the named segment
The register specified as Rx must contain the address of the name of the segment.
The segment name must be 8 bytes long, on a doubleword boundary, left justified,
and padded with blanks.
When the LOADSYS diagnose function is executed, CP finds the system name
table entry for the segment and builds the necessary page and swap tables (two sets
one for each processor, when running in attached processor mode). CP releases all
the virtual pages of storage that are to contain the named segment and then loads
the segment in those virtual pages. When the LOADSYS function is executed, CP expands the virtual machine size dynamically, if necessary. CP also expands the
segment tables to match any expansion of virtual storage.
When LOADSYS executes successfully, the address of where the named segment
was loaded is returned in the register specified as Rx. When the LOADSYS funcĀ­
tion loads a segment in shared mode, it resets instruction and branch tracing if
either was active.
After a LOADSYS function executes, the storage occupied by the named segment
is addressable by the virtual machine, even if that storage is beyond the storage
defined for the virtual machine. However, any storage beyond that defined for the
virtual machine and below that defined for the named segment is not addressable.
Figure 32 shows the virtual storage that is addressable before and after the LOADSYS function executes.
Before the LOADSYS Function Executes I All Storage Addressable by Virtual\Machine CMS Virtual Machine
without a Named Segment Attached
After LOADSYS Function
Executes Discontiguous Storage Addressable by Virtual Machine .///////////////////////// .
. /Storage Not Addressable/ .
. ///by Virtual Machine//// .
. /////////////////////////. I Storage Still Addressable by Virtual Machine I CMS Virtual Machine with
a Named Segment Attached
Figure 32. Addressable Storage Before and Mter a LOADSYS Function
254 VM/SP System Programmer's Guide
Previous Page Next Page