Hardware and Software version 
Author Message
 Hardware and Software version

how i get hardwareinformation (machine type),
and how i get the software version (OS/390 version 2.4) ?

thanks
  roland



Sat, 04 May 2002 03:00:00 GMT  
 Hardware and Software version

Quote:
Roland Stiel writes...
>how i get hardwareinformation (machine type),
>and how i get the software version (OS/390 version 2.4) ?

Don't know about the machine model number (there is an instruction to store the
cpuid, I think, but I've never used it).

Simplest way to get the OS/390 version is to use a rexx exec:

/* rexx to get sysem info  */
  say 'OS/390 name, version, release: ' mvsvar(sysopsys)
  pull

then run that exec.

regards,

Steve Comstock
Telephone: 303-393-8716
www.trainersfriend.com

256-B S. Monaco Parkway
Denver, CO 80224
USA



Sat, 04 May 2002 03:00:00 GMT  
 Hardware and Software version


Quote:
> how i get hardwareinformation (machine type),
> and how i get the software version (OS/390 version 2.4) ?

> thanks
>   roland

For the OS version, look in the CVT (address is in the PSA (PSA address
is 0) at offset x'10') or in the ECVT.

Hardware information is in the CVT (CVTMDL, CVTRELNO, CVTLEVL) and the PCCA.

Refer to the OS/390 Data Areas manuals for CVT, ECVT, PCCA and PSA
mappings.

--
Robert Ngan
CSC Financial Services Group



Sat, 04 May 2002 03:00:00 GMT  
 Hardware and Software version
For CPUid and model, try my REXX exec
at http://os390-mvs.hypermart.net/mipsmvs.htm



Sun, 05 May 2002 03:00:00 GMT  
 Hardware and Software version
Roland,
Another way to get the current OS390 Release is accessing the ECVT.
See inline-macro below (must run in 31-bit mode).

         MACRO                .INLINE-MACRO: WRITE OS-LVL IN SEPR.
&NAME    $OSNAME &WKREG,&VARNAME
         L     &WKREG.,16(0,0)                               .CVTPTR
         L     &WKREG.,X'8C'(,&WKREG.)            .A(ECVT)
         MVC   &VARNAME.(2),X'200'(&WKREG.)      .A(ECVTPVER)
         MVI   &VARNAME.+2,C'.'
         MVC   &VARNAME.+3(2),X'202'(&WKREG.)    .A(ECVTPREL)
         MVI   &VARNAME.+5,C'.'
         MVC   &VARNAME.+6(2),X'204'(&WKREG.)    .A(ECVTPMOD)
         MEND
*
***************************************************
Sample call:
         $OSNAME (2),OSLEVEL

OSLEVEL DS CL8
Oslevel contains e.g. 02.06.00 after the call (vv.rr.mm of OS/390)

cheers

tom
___________________________
thomas (dot) ramseier (at) bit (dot) admin (dot) ch

Quote:

> how i get hardwareinformation (machine type),
> and how i get the software version (OS/390 version 2.4) ?

> thanks
>   roland



Sun, 05 May 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. ==>>COMPUTER HARDWARE / SOFTWARE <<==

2. IBM-PC 370 hardware/software

3. Camera hardware / software

4. Video Recording MPEG Software/Hardware

5. VMS software and hardware

6. Software for Hardware Maintenance

7. test and measurement software and hardware for XDSL

8. basic software and hardware for designing a control system embebed ina mechanical system

9. Securing Hardware and Software by using dongles

10. Hardware/Firmware/Software Forth

11. Toys/hardware/software donations for a homeless shelter tutoring project

12. IEE Colloquium : Verification of hardware-software codesigns

 

 
Powered by phpBB® Forum Software