On 2006-04-11 at 15:19, Lester, Bob <[EMAIL PROTECTED]> wrote about "Space in MB?" to IBM-Main:
> I have a need to produce a listing (via batch) of MVS datasets by > dataset pattern. I'd like 1 line per dsname with the space used > expressed in GB instead of cylinders,tracks,blocks, etc. > > Anyone know of a tool (IBM or otherwise) that'll do this? Bob : check out ISMF | Perform Functions Against Data Sets (Option 1 for me). If you "Acquire Data from Volume", then the field "Alloc Space" will give you the value in Kb (or KiBi for the purists) as per the cut/paste from the help below. ISMF reports can be produced in batch as well. (for subsequent parsing, etc.) ALLOC SPACE : The value in this data column represents the total amount of space (in kilobytes, k=1024 bytes) on the volume allocated to this data set. This value is determined by converting the number of tracks listed in the VTOC to kilobytes, and rounding to the nearest kilobyte. Possible values: 0 to 9999999 ----------> signature = 6 lines follows <-------------- Neil Duffee, Joe SysProg, U d'Ottawa, Ottawa, Ont, Canada telephone:1 613 562 5800 x4585 fax:1 613 562 5161 mailto:NDuffee of uOttawa.ca http:/ /aix1.uottawa.ca/ ~nduffee "How *do* you plan for something like that?" Guardian Bob, Reboot "For every action, there is an equal and opposite criticism." "Systems Programming: Guilty, until proven innocent" John Norgauer 2004 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

