I haven't come across any util that does that. How do you plan to use the info. Do you want to I/p a list of files and get a reply for each? Do you want to look at one file at a time?. Must the info be correct to the nearest byte/k/meg? Must the ans be in bytes? Or can it be in trks, etc.? Are you mainly interested in seq files, or must PDS, VSAM RR, KSDS, direct files be considered?
The reason for all the ques is that there may be approaches other than a COBOL util. BTW, because of the possibility of imbedded short blocks in seq files, reading the file may be the only solution if an exact count is required.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.