GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 125 of 128    Print  
calculate total space allocated for file
If file is having space parm as SPACE=(CYL,(10,10)) i.e. 10 primary, 10 secondary. So how much cylinders totally it will take before dataset filled till end?


  
Total Answers and Comments: 3 Last Update: April 15, 2009     Asked by: avinash_geek 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: balakrishnaraothota
 
the question should be given clearly is it vsam or non vsam data set if it is non vsam it is having it is having both 16 primary and secondary extents else it is having 123 primary and secondary extents

Above answer was rated as good by the following members:
dsmanikandan, ishabudhiraja, ramanach
July 18, 2008 07:31:31   #1  
balakrishnaraothota Member Since: May 2008   Contribution: 7    

RE: calculate total space allocated for file
the question should be given clearly is it vsam or non vsam data set if it is non vsam it is having it is having both 16 primary and secondary extents else it is having 123 primary and secondary extents
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 17, 2008 04:02:39   #2  
arun442 Member Since: August 2008   Contribution: 3    

RE: calculate total space allocated for file
In such case the primary space which is 10 in this case used until it is finished then secondary memory(10) is stated to use but secondary memory can be used 150 times hence 150+10 160 is total space available on the cylinder.
 
Is this answer useful? Yes | NoAnswer is useful 3   Answer is not useful 0Overall Rating: +3    
April 15, 2009 16:57:27   #3  
dhs01 Member Since: April 2009   Contribution: 24    

RE: calculate total space allocated for file
Almost correct VSAM and non-VSAM are important but equally important is whether the allocation is to SMS controlled dasd. Another factor to consider is that allocations can both get more and less than 10 cylinders. In some cases an extent will be combined with other extents depending on physically where the extents are. (ie you could get 6 allocations of 10 cylinders but it would be 1 extent...) Another factor is that you can use up to 3 extents to get either the primary or secondary quantity. (in this case you might only get 40 cylinders and be out of extents...). So the short answer is that you can't say without a lot more information.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape