View previous topic :: View next topic
|
Author |
Message |
guruguha
New User
Joined: 02 Apr 2007 Posts: 12 Location: Chennai
|
|
|
|
Hi,
Is there any tool available to calculate the space parameters knowing the Volume(no. of records in the input file) and the LRECL of output? |
|
Back to top |
|
|
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
U can calculate the Space Parameter = No of records * record length, which gives u Total Bytes occupied by the File. From this u allocate the File using TRKS. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
U can calculate the Space Parameter = No of records * record length, which gives u Total Bytes occupied by the File. From this u allocate the File using TRKS. |
Almost ...............
Divide the LRECL into the optimum blocksize for the device you will allocate the dataset onto, 27998 for 3390, and divide by two. Incorrect - please see below.
This gives you the number of records per track.
Divide the total number of records by the number above to give you tracks.
Divide by 15 to get the number of cylinders required. Add 10 - 15% for contingency and growth, and there you go. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Updated, and corrected version
Divide the LRECL into the optimum blocksize for the device you will allocate the dataset onto, 27998 for 3390, and multiply the integer value by two.
This gives you the number of records per track.
Divide the total number of records by the number above to give you tracks.
Divide by 15 to get the number of cylinders required. Add 10 - 15% for contingency and growth, and there you go.
As a bonus, I usually use tracks for allocations LE 75 tracks, and cylinders for allocations above 75 tracks. |
|
Back to top |
|
|
|