jagankallis Warnings : 1 New User
Joined: 28 Jun 2006 Posts: 29 Location: DUISBURG
|
|
|
|
Dear Members,
I have a doubt in JCL space allocations. Could you please let me know how much space i need to allocate. I have a file generated by my programs with size as 3000bytes Variable length and ther are approx 4 million records. How much space should i allocates to it.
Please let me know the formulate to calcuates it in cylinders, tracks and blocks. |
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Based on our shop's standards, I come up with:
Code: |
// SPACE=(3000,(3953,790),RLSE),AVGREC=K
|
based on the calculation:
LRECL * MAX # of RECORDS / 56664 = (# of tracks)
3000 * 4,000,000 / 56664 = 211,775 tracks.
BLKSIZE / LRECL * 2 * (# of tracks) = primary space
27,998 / 3000 * 2 * 211775 = 3952851
So, divide 3952851 by 1000, rounding up, and that's the primary. For our shop, the secondary is given as 20% of the primary. |
|