Nathan Astle wrote: >I am writing up a small program to build a small tool(ISV) to read the Number >of Offline and Online DASD devices.
As others said, use UCBSCAN. Or REXX issuing D U command plus filtering out undesired device types like cartridge drives. >Right Now I am using RMF and SMF to read the number of DASD. Will not really work, because do you want history of ON/OFF or do you want stats as they are NOW, ie "snapshot"? >Is there an alternative way to read the number of DASD present in Datacentre. >I am mostly looking from the Programming point of view. Yup. Many alternatives. See Lizette Koehler and J O Skip Robinson good replies. >Basically We have a written a Java program to read from SMF, but is there a >way without using SMF or RMF to get the status of DASD ? Java, reading SMF? Hmmm, that is new to me. If you want to use SMF, what record type do you want to use? One caveat - if you use SMF/RMF from one LPAR, the volser may be offline/online/boxed/etc. at other LPAR. Messy + Dirty. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
