VALDIS@VTVM1.CC.VT.EDU (Valdis Kletnieks) (04/25/91)
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