Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Need to know about how space is allocated for the file.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Dec 26, 2008 10:02 pm    Post subject: Reply to: Need to know about how space is allocated for the
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    Post subject:
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jan 20, 2009 5:45 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Release quantity that was allocated v... Auryn JCL & VSAM 5 Thu May 18, 2017 6:02 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us