John McKown wrote on 12/23/2008 06:03:51 AM: > If the OP is willing to read the dataset, as the above requires, then I'd > use DFSORT to copy it to DD DUMMY. DFSORT will give you the number of bytes > read in the file.
For a COPY, DFSORT will give you the number of records read and written and the attributes of the input and output files, but not the number of bytes read. For a SORT, DFSORT will give you the number of records read and written, the attributes of the input and output files, and the number of bytes sorted. DFSORT/ICETOOL has various other ways to get the count for an FB or VB file (e.g. COUNT operator), and the filesize for a VB file (e.g. STATS operator with ON(VLEN)), but they all involve reading the input file. Frank Yaeger - DFSORT Development Team (IBM) - [email protected] Specialties: FINDREP, WHEN=GROUP, DATASORT, ICETOOL, Symbols, Migration => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/ ---------------------------------------------------------------------- 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

