Can anybody provide me an idea about how to calculate the number of records per dataset provided the properties of a dataset. Do we have any tool as such to do the same?
For example we have a GDG with the following attributes:
//DOCM DD DSN=xxxx.xx.xx..xxxx(+1),
The disk model is 3390. I want to get the maximum number of records that could be inserted in this GDG. Your help on this is appreciated.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
You best information source is to talk with your storage management people. The definition you've provided will not store many records.
Your jcl says to allocate space in blocks of 15000 bytes and that lrecl is 15000. If your lrecl and blocksize are the same you have asked for primary space for 30 records with some number of secondaries (6 at a time). How many secondaries you may allocate depends on your environment. Again, this information should be easily gotten from the storage management people.
It is more typical to estimate space on the basis of lrecl * # of records.
Since the block size and the LRECL are the same; Primary space of 30 and AVGREC=K implies the number of records to be 30K in this dataset. Apart from this (i.e. after the 30K records) I believe the secondary extents come into picture.