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.
--------------------^^^^^^^^^^^^^^^^^
That's confirm common opinion about mainframes. File size requires advanced services, some assembler coding, knowledge of as simple tool as CSI... It's almost programming project, requires well-paid specialists...

I just launched my turbo.exe and found 3 interesting functions:
filesize(f): Longint
Disksize(L): Longint
Diskfree(L): Longint
Finding these functions took me less time than finding turbo.exe file (it no longer on PATH).
I haven't used TP & DOS for years.

I work with OS/390 and z/OS for years, everyday, in many shops. I still don't know how to find dataset size programatically. Of course I know how to find it using ISPF.


Jeeez, I like Windows. A lot of errors, built-in stupidity, but I don't have to review migration guide, when I want to change mouse, I don't need to search PSP bucket, when installing new printer... But seriously, I'm paid for knowing how to check dataset size, even using ISPF. As majority of the list members.
Time for my pills.


--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
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

Reply via email to