Mark Thomen wrote:
"Charles Mills" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
Thanks all. Bruce's reply was especially helpful. I understand my various
imperfect options now.
With regard to R.S.'s observation: ain't it the truth! Does anyone have
the
impression that making* a simple question like "how big is this file?" so
darned difficult somehow improves the value or the positive attributes
(RAS,
etc.) of this platform?
*Yes, MAKING. Some of the problems are inevitable due to the age of the
platform and the philosophy of upward compatibility (small field sizes
that
have now been outgrown in some kludgey way) but IBM's placing a
prohibitive
price on fundamental (if PC-DOS can do it, it's fundamental)
documentation
is totally incomprehensible.
Charles
You have always had several options:
Use AMS DCOLLECT to get the information
Use the CSI to get the volser list, and invoke CVAF to read the DSCBs
and determine the total space
Depending on your need, the second option might be best if you want to deal
with "individual" data sets, instead of all data sets. Using CSI and CVAF
is not very difficult to obtain the information for a particular data set.
See z/OS DFSMSdfp Advanced Services manual.
But what they want, I think, is something like another
variable coming back from a simple LISTDSI, maybe
ZNUMBYTES containing the actual number of bytes in
the data set. Something really simple to get at.
Kind regards,
-Steve Comstock
----------------------------------------------------------------------
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