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: 10211
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: 7936
Location: Bellevue, IA

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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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