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

To allocate cylinders to a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Apr 16, 2010 7:01 am
Reply with quote

Hi,

How do we determine the number of cylinders to be allocated to a dataset?

Please give me an example.

Thanks!
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: Fri Apr 16, 2010 8:03 am
Reply with quote

Number or records and block size and blocks per track and tracks per cylinders...
Quote:
Please give me an example.

How many records?
Whay is the block size?
How many blocks will fit on a track?
How many tracks do a cylinder make?

Please give me an example.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Apr 16, 2010 8:03 am
Reply with quote

Find out how many records will be in the file, adjust for added records over time, and use the formulas to convert records to cylinders.

If you search this forum, you will find many examples of space calculations.
Back to top
View user's profile Send private message
ridgewalker58

New User


Joined: 26 Sep 2008
Posts: 51
Location: New York

PostPosted: Sat Apr 17, 2010 7:23 am
Reply with quote

The Disks that we work with contain approx 57000 bytes per track and 20 tracks per cylinder. Your maximum block size can be 32768 bytes. So when I need to calculate most efficient space I usually try to stay around a DIVISABLE of 32000 bytes.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Apr 17, 2010 7:42 am
Reply with quote

3390 disk drives have 56,664 bytes per track and 15 tracks per cylinder (see the 3390 reference card SX26-4577 for more details). The least wasteful block size is 27,998 bytes which allows 2 blocks per track. If you want to minimize wasted space, go with a block size close to 27,998. If you go over 27,998 you only get one block per track so using 32000 bytes per block as ridgewalker58 recommends actually reduces the amount of data that can be stored on the disk by nearly half.

Very recent releases of z/OS now allow large block sequential files which can go over 32767 bytes per block, but using this would depend upon the release of the operating system.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top