Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding the RECORDSIZE( AVG, MAX) OF A VSAM FILE ???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sidharthmadaan1984

New User


Joined: 06 Apr 2008
Posts: 4
Location: Bangalore

PostPosted: Thu Apr 17, 2008 1:12 pm    Post subject: Regarding the RECORDSIZE( AVG, MAX) OF A VSAM FILE ???
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 17, 2008 2:00 pm    Post subject:
Reply with quote

Keeping the average the same should not have any impact.
Back to top
View user's profile Send private message
sidharthmadaan1984

New User


Joined: 06 Apr 2008
Posts: 4
Location: Bangalore

PostPosted: Thu Apr 17, 2008 2:17 pm    Post subject: what should we change it to ???
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 17, 2008 5:37 pm    Post subject: Re: what should we change it to ???
Reply with quote

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
View user's profile Send private message
Eugene S Hudders

New User


Joined: 14 Jan 2008
Posts: 1
Location: Florida USA

PostPosted: Fri Apr 18, 2008 9:37 pm    Post subject: Reply to: Regarding the RECORDSIZE( AVG, MAX) OF A VSAM FILE
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us