MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

calculating the space for a PS file.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed Feb 08, 2006 6:35 am    Post subject: calculating the space for a PS file. Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Feb 08, 2006 8:41 am    Post subject: Reply with quote

mf_user,

Please search before posting. check this link which discusses in detail about space calculation

http://www.mvsforums.com/helpboards/viewtopic.php?t=28&highlight=space+calculate
http://www.mvsforums.com/helpboards/viewtopic.php?p=8947#8947

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Feb 09, 2006 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Feb 09, 2006 4:46 am    Post subject: Reply with quote

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. Confused
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Feb 09, 2006 4:47 am    Post subject: Reply with quote

I used "TSO BLK3390 RECORDS". I don't know whether it was REXX or CLIST. Exclamation
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Feb 09, 2006 8:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Feb 09, 2006 9:20 pm    Post subject: Reply with quote

Kolusu,

I've read the link to its full length

http://www.mvsforums.com/helpboards/viewtopic.php?t=28&highlight=space+calculate


Now, I can make use of it effectively.

Thank you once again.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Fri Feb 10, 2006 2:59 am    Post subject: Reply with quote

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
View user's profile Send private message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Fri Feb 10, 2006 3:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group