View previous topic :: View next topic
|
Author |
Message |
bijoybabu83
New User
Joined: 15 Jan 2007 Posts: 36 Location: Kerala
|
|
|
|
How is allocation of memory space handled in Mainframe ?
For example if we give the space as :-
space = (80,(10,1),RLSE)
How is space allocations handled for a file which has 80,000,000 records.
I need to know how is the space going to be allocated between primary and secondary.
Can anyone help. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
did You look at the manual ( jcl guide and jcl reference ) ??
everything is explained very clearly
click on the IBM Manuals link at the top of the page |
|
Back to top |
|
|
prashanth1
New User
Joined: 27 Sep 2006 Posts: 47 Location: Hyderabad
|
|
|
|
Bijoybabu,
Probably this may help you.
total size of your file will be 6400000000 bytes ( 80,000,000 * 80).
1 track = 53 KB (around)
1Cyl = 832 KB ( around)
Calculate accordingly and allocate the space to avoid SB37 error. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
1 track = 53 KB (around)
1Cyl = 832 KB ( around) |
These numbers depend on using at least somewhat optimal blocking. If the file is unblocked (as implied in the original post of
Quote: |
space = (80,(10,1),RLSE) |
then the bytes used per track and cylinder go down -- way down. |
|
Back to top |
|
|
|