Sure, Chuckie... go ahead and tease anyone running a z/VM before z/VM 5.3 
where the rexx stsi() function came in! 

An earlier poster mentioned the STSIUSE EXECSAMP on MAINT's 193 disk (on 
z/VM 5.3+) which does a very nice job.

Mike Walter
Hewitt Associates
The opinions expressed herein are mine alone, not my employer's. 



"Alan Altmark" <[email protected]> 

Sent by: "The IBM z/VM Operating System" <[email protected]>
03/05/2010 12:32 PM
Please respond to
"The IBM z/VM Operating System" <[email protected]>



To
[email protected]
cc

Subject
Re: Question about machine type and model






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






The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 

Reply via email to