The z/OS command - D M=CPU - for a z/OS system running in a virtual machine does not show the first byte of the CPU-ID. This is from my z/OS system running in a virtual machine. D M=CPU IEE174I 13.19.16 DISPLAY M 230 PROCESSOR STATUS ID CPU SERIAL 00 + 01AC8E2094 01 + 01AC8E2094 02 + 01AC8E2094 You could write a program that issues CP commands using the DIAGNOSE instruction using subcode X'0008'.
________________________________ From: The IBM z/VM Operating System on behalf of McKown, John Sent: Thu 4/10/2008 11:45 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How to know if running as a guest > -----Original Message----- > From: The IBM z/VM Operating System > [mailto:[EMAIL PROTECTED] On Behalf Of Claudio Testore > Sent: Thursday, April 10, 2008 1:40 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: How to know if running as a guest > > > Is there any z/OS command to know if the system is running under VM? > Thanks. Claudio D M=CPU should do it. The first byte of the CPUID is FF. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it.