If I set out to do something similar, I would never even consider messing with S/RMF. The UCBSCAN service is well documented and effective. Or as suggested, issued some z/OS command and capture the output. We have a Rexx that uses QDASD ONLINE to find all online DASD. I believe that the parm DEFINED will return everything both ON- and OFFLINE. KISS.
. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 626-302-7535 Office 323-715-0595 Mobile [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Lizette Koehler Sent: Wednesday, August 19, 2015 7:05 AM To: [email protected] Subject: Re: DASD status read Do you have ISMF? SMS? If so, look at NAVIQUEST process that comes with this tool. Or if you have other processes, like Tivoli Omegamon, Quick Ref (Chicago Software), MXI, SAS/MXG or SAS/MICS, or CA Vantage, CA OPS/MVS or etc... they have some of this function already built. Or look at CBTTAPE.ORG and see if there is something already built there. Or you can write an assembler program that reads the UCBs and determine which are online or offline. Or you can write a REXX that uses CONSOLE to do the D U commands. This will depend on what you want to use and who will support it after you. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Nathan Astle > Sent: Wednesday, August 19, 2015 6:37 AM > To: [email protected] > Subject: DASD status read > > Hello All, > > I am writing up a small program to build a small tool(ISV) to read the > Number of Offline and Online DASD devices. Right Now I am using RMF > and SMF to read the number of DASD. > > Is there an alternative way to read the number of DASD present in > Datacentre. I am mostly looking from the Programming point of view. > > 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 ? > > Any suggestion would be highly appreciated. > > Nathan ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
