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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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