View previous topic :: View next topic
|
Author |
Message |
sidharthmadaan1984
New User
Joined: 06 Apr 2008 Posts: 4 Location: Bangalore
|
|
|
|
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 ???
Regards,
Sidharth. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Keeping the average the same should not have any impact. |
|
Back to top |
|
|
sidharthmadaan1984
New User
Joined: 06 Apr 2008 Posts: 4 Location: Bangalore
|
|
|
|
hi,
thanx for your reply dear...
just wanted to know if we want to change it then what should it be ???
Regards, |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
sidharthmadaan1984 wrote: |
just wanted to know if we want to change it then what should it be ??? |
If the average length significantly changes, feel free to update it, VSAM uses it for efficiency... |
|
Back to top |
|
|
Eugene S Hudders
New User
Joined: 14 Jan 2008 Posts: 1 Location: Florida USA
|
|
|
|
Hi:
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.
Regards,
Gene |
|
Back to top |
|
|
|