View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Wed Feb 08, 2006 6:35 am Post subject: calculating the space for a PS file. |
|
|
Hi,
I need to provide SPACE parameters for an output file with following characteristics.
LRECL = 150
RECFM = FB
No. of Output records = 45000
I want to know how to allocate primary and secondary space for this requirement.
Would you please tell me in Tracks and Cylinders also.
Thanks for your time. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Feb 09, 2006 12:37 am Post subject: |
|
|
Thanks Kolusu.
That was very helpful. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Feb 09, 2006 4:46 am Post subject: |
|
|
And, I have used a tool in the mainframe itself and got the following SPACE details for this requirement.
Code: |
3390 BLOCKSIZE SUMMARY; LRECL=150 KEY LENGTH=0
BLOCKSIZE BLOCKS/TRACK LRECLS/TRACK UTILIZATION
--------- ------------ ------------ -----------
150 72 72 19.1%
2,850 16 304 80.5%
3,150 15 315 83.4%
3,300 14 308 81.5%
3,750 13 325 86.0%
4,050 12 324 85.8%
4,500 11 330 87.4%
4,950 10 330 87.4%
5,700 9 342 90.5%
6,450 8 344 91.1%
7,500 7 350 92.7%
8,850 6 354 93.7%
10,650 5 355 94.0%
13,650 4 364 96.4%
18,450 3 369 97.7%
RECOMMENDED-->27,900 2 372 98.5%
32,700 1 218 57.7%
FOR BLKSIZE 27,900 AND 45,000 RECORDS, ALLOCATE:
242 BLOCKS, 121 TRACKS, OR 9 CYLINDERS ***
|
The problem is it did not give the secondary space allocation at all. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Feb 09, 2006 4:47 am Post subject: |
|
|
I used "TSO BLK3390 RECORDS". I don't know whether it was REXX or CLIST. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Feb 09, 2006 8:11 am Post subject: |
|
|
Quote: |
used "TSO BLK3390 RECORDS". I don't know whether it was REXX or CLIST.
|
It must be your shop own clist/rexx and that TSO command is not a standard TSO command. The secondary allocation comes into picture for future growth of the dataset.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
|
Back to top |
|
|
MikeBaker Beginner
Joined: 04 May 2004 Posts: 96 Topics: 9
|
Posted: Fri Feb 10, 2006 2:59 am Post subject: |
|
|
mf_user,
Don't invest too much faith in your BLK3390. It gives 27900 as the recommended blocksize. For a 3390, the (IBM) optimal blocksize is actually 27998.
And besides, any decent shop should be using System Determined Blocksize. Hard-coding blocksizes on QSAM output files is a caveman technique. It should be blocksize = 0, which will automatically invoke SMS SDB. |
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Fri Feb 10, 2006 3:33 am Post subject: |
|
|
MikeBaker,
Thank you. I did not know this fact. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
|
|