On Friday, 03/05/2010 at 01:03 EST, Daniel Allen <[email protected]> 
wrote:
> In z/OS, the command 'D M=CPU' shows the machine type and model. In 
z/VSE, the 
> command 'SIR' shows the machine type and model. 
> 
> I know the 'Q CPU' shows the machine type. Is there any way I can find 
the 
> model under z/VM ?

There is no CP command to provide the info you're looking for, but the 
following EXEC fragment will do it:

  result = stsi(1,1,1) 
  address command 'PIPE', 
    '|  var result', 
    '|  specs', 
        '/Type:                       / 1  49.4      nw write',
        '/Model-Capacity Identifier:  / 1  65.16     nw write',
        '/Model:                      / 1 101.16     nw', 
    '|  cons' 
 
It yields (for example):
 
Type:                        2097 
Model-Capacity Identifier:   742 
Model:                       E56           
 
This was taken from STSIUSE SAMPEXEC that is included with your system. 
STORE SYSTEM INFORMATION (STSI) is an instruction found in the Principles 
of Operation and for which we provide a REXX built-in function.

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to