CMMD
CMMDL
LA* 6,CMMD
LA 10,CMMDL
DC X'83',X'6A',XL2'0008' DC EQU C'QUERY FILES' *-CMMD
The second example shows how to specify a string of commands when multiple
commands are to be issued.
CMMD
CMMDL
Notes:
LA* 6,CMMD
LA10 ,CMMDL
DC X'83',X'6A',XL2'0008' DC
DC
DCEQU C'QUERY FILES' X'lS' C'PURGE PRINTER'
*-CMMD
1. If you are in EC mode you must code a LRA instruction instead of a LA
instruction if you are running a virtual storage system (for example,MVS) in a
virtual machine and want to specify the address of the CMMD parameter.
2. The logical line editing characters (described in the VM /SP Terminal Reference
and under the TERMINAL command in the CP Command Reference for GenĀ
eral Users) are only recognized byCP when entered from a terminal, not when
passed toCP via DIAGNOSE X'08'. Therefore a command such as #CP is not
recognized byCP when issued via DIAGNOSE X'08' and results in error mesĀ
sage"DMKCFC001E ?CP: COMMAND". DIAGNOSE Code X'OC' -- Pseudo Timer
Privilege class G
Execution ofDIAGNOSE Code X'OC' causes CP to store four doublewords of
time information in the user's virtual storage.
Entry Values: The register specified as Rx contains the address of the 32 byte area
where the time information is to be stored. The address must be on a doubleword
boundary. The information returned is in the format shown in Figure 28 on page207. The first eight bytes contain the Month/Day-of-Month/Year. The next eight
bytes contain the time of day in Hours:Minutes:Seconds. The last 16 bytes contain
the virtual and total processor time used by the virtual machine that issued theDIAGNOSE. The last 16 bytes are expressed as a doubleword, unsigned integer.
The time is expressed in microseconds.
Completion and ConditionCodes: No completion code is returned, and the condition
code remains unchanged.
DIAGNOSE Instruction in a Virtual Machine 227
CMMDL
LA* 6,CMMD
LA 10,CMMDL
DC X'83',X'6A'
The second example shows how to specify a string of commands when multiple
commands are to be issued.
CMMD
CMMDL
Notes:
LA* 6,CMMD
LA
DC X'83',X'6A'
DC
DC
*-CMMD
1. If you are in EC mode you must code a LRA instruction instead of a LA
instruction if you are running a virtual storage system (for example,
virtual machine and want to specify the address of the CMMD parameter.
2. The logical line editing characters (described in the VM /
and under the TERMINAL command in the CP Command Reference for GenĀ
eral Users) are only recognized by
passed to
recognized by
sage
Privilege class G
Execution of
time information in the user's virtual storage.
Entry Values: The register specified as Rx contains the address of the 32 byte area
where the time information is to be stored. The address must be on a doubleword
boundary. The information returned is in the format shown in Figure 28 on page
bytes contain the time of day in Hours:Minutes:Seconds. The last 16 bytes contain
the virtual and total processor time used by the virtual machine that issued the
The time is expressed in microseconds.
Completion and Condition
code remains unchanged.
DIAGNOSE Instruction in a Virtual Machine 227