Execution of a DIAGNOSE code X'04' allows a user with command privilege
class C or E to examine real storage. The register specified as Rx
contains the virtual address of a list ofCP (real) addresses to be examineda The Ry register contains the count of entries in the list.
Ry+1 contains the virtual address of the result field. The result field
contains the values retrieved from the specified real locations.
Note: The request and result tables must be in thesame page of virtual
storage, and that pagemust be resident in real storage, at the time the DIAGNOSE is executed. This is guaranteed if the instruction itself is
also in the samepage. In the attached processor environment, each processor has a prefix
register to relocate addresses between0 and 4095 to another page frame in main storage. The prefix register enables each processor to use a
different page frame in order to avoid conflict with the other processor
for such activity as interrupt code recording. Thus, the range0 through 4095 refers to different areas of storage, depending upon which
processor generates the address.
All references tomain storage from either processor are handled as
if they were made on themain processor. Existing user programs remain
valid for performance data; in the attached processor environment, they
receive the statistics for themain processor.
References to thePSA of the attached processor may be made as
follows: first, retrieve the valueof PREFIXB, the value of the prefix
register for the other processor (the attached processor in this case).
Next, specify addresses that are the sum of the value ofPREFIXB and the PSA displacement. References to 0 through 4095 are made by summing the
value ofPREFIXA and the PSA displacement to form the request address. Several system values that are processor independent are maintained in 0 through 4095, such as the restart PSi and the trace table vectors.
Theexecution of DIAGNOSE code X'OS' allows a program executing in
supervisormode in a virtual machine to perform a CP com.and. The
register specified as Rx contains the address, in virtual storage,of the data area defining the CP command and parameters. The Ry register
contains flags in the high-orderbyte,-and contains the command length
(up to 132 characters) in the three low-order bytes. If the first bit
of the high-order bytes is on(X'SO'), it indicates that the virtual machine issuing the DIAGNOSE code X'OS' instruction wants CP to reject
passwords from theterminal for AUTOLOG and LINK commands. This will be
done only if the installation has elected to use the password
suppression facility(PSUPRS=YES parameter of the SYSJRL macro in DI!KSYS) • If the second bit of the high-order byte is on (X'40'), it indicates
that the virtualmachine issuing the CP command requires the response to
that command to be returned to the virtual storage area specifiedby register Rx+1. The length of this area must be passed in register Ry+1.
The followingexample illustrates how DIAGNOSE code X'OS' would be
issued to perform theCP command, QUERY, to determine the number of
input and output spool files:CP Introduction 1-51
class C or E to examine real storage. The register specified as Rx
contains the virtual address of a list of
Ry+1 contains the virtual address of the result field. The result field
contains the values retrieved from the specified real locations.
Note: The request and result tables must be in the
storage, and that page
also in the same
register to relocate addresses between
different page frame in order to avoid conflict with the other processor
for such activity as interrupt code recording. Thus, the range
processor generates the address.
All references to
if they were made on the
valid for performance data; in the attached processor environment, they
receive the statistics for the
References to the
follows: first, retrieve the value
register for the other processor (the attached processor in this case).
Next, specify addresses that are the sum of the value of
value of
The
supervisor
register specified as Rx contains the address, in virtual storage,
contains flags in the high-order
(up to 132 characters) in the three low-order bytes. If the first bit
of the high-order bytes is on
passwords from the
done only if the installation has elected to use the password
suppression facility
that the virtual
that command to be returned to the virtual storage area specified
The following
issued to perform the
input and output spool files: