CP  obtains  device  information  from  three  control  blocks:  virtual  device  information  
from the virtual device block(VDEVBLOK),   and  real  device  information  from  the  
real device block(RDEVBLOK)   and  from  NICBLOK.   The  following  diagrams  
identify specific information returned by CP and show how to locate this informa
tion in the Rx, Ry, and Ry+ 1 registers. The symbolic names used in these dia
grams are the symbolic names used withVDEVBLOK,   RDEVBLOK,   and  NICBLOK   in  VM   /  SP  Data  Areas  and  Control  B  lock  Logic,  Volume   1.  
Note: For aDIAGNOSE   X'24'  to  an  SNA  device  though  VCNA,  the  model  
(RDEVMDL) information is correct, however, the RDEVTYPE may not be reli
able.
Rx Register
Byte0   RDEVTMCD  
- or -NICTMCD   Symbolic  Name  
RDEVTMCD
- or-
NICTMCD
RyRegister
Byte0   VDEVTYPC  
Symbolic Name
VDEVTYPC
VDEVTYPE
VDEVSTAT
VDEVFLAG
Byte 1 Byte 2I   Byte  3  
virtual
deviceaddress    Terminal  code  bits  defining  the  type  of  console  and  the  translate  
table the console is using. RDEVTMCD is for a local virtual
console; NICTMCD for a remote3270   virtual  console.  
Byte 1 Byte 2 Byte 3
VDEVTYPE VDEVSTAT VDEVFLAG
Meaning
Virtual device type class
Virtual device type
Virtual device status
Virtual device flags
DIAGNOSE Instruction in a Virtual Machine 237
from the virtual device block
real device block
identify specific information returned by CP and show how to locate this informa
tion in the Rx, Ry, and Ry+ 1 registers. The symbolic names used in these dia
grams are the symbolic names used with
Note: For a
(RDEVMDL) information is correct, however, the RDEVTYPE may not be reli
able.
Rx Register
Byte
- or -
RDEVTMCD
- or-
NICTMCD
RyRegister
Byte
Symbolic Name
VDEVTYPC
VDEVTYPE
VDEVSTAT
VDEVFLAG
Byte 1 Byte 2
virtual
device
table the console is using. RDEVTMCD is for a local virtual
console; NICTMCD for a remote
Byte 1 Byte 2 Byte 3
VDEVTYPE VDEVSTAT VDEVFLAG
Meaning
Virtual device type class
Virtual device type
Virtual device status
Virtual device flags
DIAGNOSE Instruction in a Virtual Machine 237
            
            
































































































































































































































































































































































































































































































































































































































