Determine tracks and cylinders
-
- Posts: 10
- Joined: Wed Jun 03, 2009 4:31 pm
- Skillset: cobol.jcl,cicis,db2,ims
- Referer: internet
Determine tracks and cylinders
While creating a dataset PDS or PS how do we determine the number of tracks or cylinders to allocate?
-
- Posts: 10
- Joined: Wed Jun 03, 2009 4:31 pm
- Skillset: cobol.jcl,cicis,db2,ims
- Referer: internet
Re: Determine tracks and cylinders
Forgot to include how to find Block size?
Re: Determine tracks and cylinders
Number of records = 100000, RECFM=FB, LRECL=125
Blocksize = INTEGER(27998 / LRECL) - Although specifying only RECFM and LRECL will invoke system determined blocksize.
Records per block = Blocksize / LRECL
Records per track = Records per block * 2
Records per cylinder = Records per track * 15
For VB records it is safest to use the maximum LRECL to determine the space requirements, but always use 27998 as blocksize.
Blocksize = INTEGER(27998 / LRECL) - Although specifying only RECFM and LRECL will invoke system determined blocksize.
Records per block = Blocksize / LRECL
Records per track = Records per block * 2
Records per cylinder = Records per track * 15
For VB records it is safest to use the maximum LRECL to determine the space requirements, but always use 27998 as blocksize.
-
- Posts: 278
- Joined: Thu May 15, 2008 9:45 pm
- Skillset: MVS
MQ
ISPF - Referer: sister site
Re: Determine tracks and cylinders
The BLKSIZE suggested by expat (27998) is one-half of a 3390 track, the most common device geometry. Smaller blocks waste space due to the physical method of writing the data on the disk.
This link shows the various block sizes and utilizations. http://publibz.boulder.ibm.com/cgi-bin/ ... 1001/B.1.2
This link shows the various block sizes and utilizations. http://publibz.boulder.ibm.com/cgi-bin/ ... 1001/B.1.2
Regards,
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.