Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!VTVM1.CC.VT.EDU!VALDIS From: VALDIS@VTVM1.CC.VT.EDU (Valdis Kletnieks) Newsgroups: comp.lang.asm370 Subject: Disk type and features... Message-ID: <9104251314.AA07378@ucbvax.Berkeley.EDU> Date: 25 Apr 91 13:07:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 12 Regarding getting information about a disk... Rather than issuing a DIAG x'08' and parsing the output, I'd suggest you look at DIAG x'24' (DEVTYPE) and (under XA SP 2.1 at least) DIAG x'210' which returns device-specific features... For the terminally ambitious, there's also the appropriate CCW commands for 'Read Device Characteristics'... but this isn't for the faint-hearted. Valdis Kletnieks Computer Systems Engineer Virginia Polytechnic Institute