I'm using a VSAM file while previously had a RECORDSIZE(237, 306) and the minimum and the maximum record length used was 160 and 306 respectively...
Now, in the same VSAM file the maximum record length has been updated to 466 but the minimum record length is same as 160, so my question is that whether we need to update the RECORDSIZE parameter's average record length also ??? If yes, then what should it be changed to ??? How essential it is, i mean will that make an impact on the file if we dont change it ???
Joined: 14 Jan 2008 Posts: 1 Location: Florida USA
The average record size is only used when you define the disk space requirements using the RECORDS option. In most cases, users do not know the average record length, so the results can be reflected in multiple extents when the file is initially loaded (e.g., you used the minimum instead of the average) to excessive over-allocation when you overstated the average. The figure you provide is kept in the catalog and never updated by VSAM. If you are allocating disk space using CYLINDERS or TRACKS, then the average record length will not have any effect on your definition.