IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How the size of an extent (in blocks) is determined


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prasanna Srinivas D

New User


Joined: 12 Oct 2007
Posts: 9
Location: chennai

PostPosted: Mon Oct 15, 2007 1:45 am
Reply with quote

hi

i would like to know how the size of an extent (in blocks) is determined. I did create some data sets with various block sizes...

Block Size(in bytes) -- Extent Size(in blocks)

16 -- 86
40 -- 78
800 -- 39

The DASD used here is 3990, OS is zOS and system is z800. The record size in all the cases where 8 bytes except for 800 where a record size of 80 bytes was used. The record format used was fixed blocked. As seen above, the extent size in bytes is not the same in every case. Then, on what basis is the extent size fixed?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Oct 15, 2007 2:04 am
Reply with quote

Remember that on dasd the minimum allocation unit is the TRACK, so
even if You ask for 1 800 bytes block, You will get one track worth of bytes
Back to top
View user's profile Send private message
CICS Guy

Senior Member


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

PostPosted: Mon Oct 15, 2007 2:26 am
Reply with quote

Also remember that between each block, there is an inter-block gap, which is kind of large...If your block size were full track, there would be only the one gap....smaller block sizes incur more inter-block gaps.....That is why the larger the blocksize, the smaller the actual number of tracks (extents) are required....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts Dataset size increase on adding 1 byt... DFSORT/ICETOOL 8
No new posts TWA size of the CPLT transaction CICS 0
Search our Forums:

Back to Top