On Thu, 12 Mar 2009 22:55:40 +0200, Itschak Mugzach <[email protected]> wrote:

>John,
>
>Write a small rexx program that will read the number of records from the
>catalog and then generate the appropriate IDCAMS control cards ;-) No empty
>files, exact number of control cards, faster IO.
>
>Itschak
>

I was thinking of sequential files, not VSAM. There are no record statistics
in the catalog for sequential files. Also, I have had a few times when the
record statistics are just flat-out wrong. Catalog statistics are not
guaranteed to be accurate. IIRC, if you update a file in a program and that
program abends before closing the VSAM file, the statistics are not written
back to the catalog. Unfortunately, we seem to live in this environment.

--
John

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