IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to know about how space is allocated for the file.


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bijoybabu83

New User


Joined: 15 Jan 2007
Posts: 36
Location: Kerala

PostPosted: Fri Dec 26, 2008 9:46 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 26, 2008 10:02 pm
Reply with quote

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

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Tue Jan 20, 2009 12:38 pm
Reply with quote

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 20, 2009 5:45 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top