Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
Husna

New User

Joined: 02 Jun 2006
Posts: 49

 Posted: Mon Jun 05, 2006 8:38 am    Post subject: How many Cylinders does it will occupy? Hi all, I am new to Mainframes?. Could you please any one of you let me know. How many Cylinders does it will occupy for the following query? SPACE=(CYL,(1,2))

sandhyaragav

New User

Joined: 05 Apr 2006
Posts: 14

 Posted: Mon Jun 05, 2006 9:54 am    Post subject: Re: How many Cylinders does it will occupy? No.of cylinders would be 1+(16*2) = 33 cyl Sandhya
Husna

New User

Joined: 02 Jun 2006
Posts: 49

 Posted: Mon Jun 05, 2006 10:19 am    Post subject: Hi Sandhya, Thanks for your quick response. As per my knowledge? Up to 15 extends of secondary space (in our example it is 2) will be allotted, If space is not sufficient. Could you please let me? How many extends will be allotted for the same (15 or 16)? One more thing, I would like to ask you? Whether this extends will be starts from 0 or 1? Awaiting your reply.
Rupesh.Kothari

Member of the Month

Joined: 27 Apr 2005
Posts: 464

Posted: Mon Jun 05, 2006 10:34 am    Post subject: Re: How many Cylinders does it will occupy?

Hi,

 Quote: Could you please let me? How many extends will be allotted for the same (15 or 16)?

Hope this helps

Regards
Rupesh
Husna

New User

Joined: 02 Jun 2006
Posts: 49

 Posted: Mon Jun 05, 2006 11:19 am    Post subject: Hi Rupesh, Thanks a lot. So, final answer is... No.of cylinders would be 1+(15*2) = 31 cylinders.
Marso

REXX Moderator

Joined: 13 Mar 2006
Posts: 1243
Location: Israel

 Posted: Mon Jun 05, 2006 7:30 pm    Post subject: And don't forget, you can write: SPACE=(CYL,(1,2),RLSE) which means extra space will be released when the file is closed. According to the book: "The system releases space only if the data set is open for output and the last operation was a write." I think it can release part of a cylinder (which means you can finish with a file which is 6 cyl and 10 tracks, for example).
mmwife

Super Moderator

Joined: 30 May 2003
Posts: 1592

 Posted: Tue Jun 06, 2006 6:13 am    Post subject: And also don't forget that the sys may use up to 5 extents to satisfy your primary alloc. In that case you will only have 11 2ndary ext available. That rule wouldn't apply in this case (1 CYL primary) because 1 CYL is the smallest unit of alloc. If it were changed to (TRK,(20,40)) the rule would apply.

Active User

Joined: 31 May 2006
Posts: 200
Location: Netherlands

 Posted: Tue Jun 06, 2006 4:41 pm    Post subject: All, I think it wont be amiss to mention here that 1 primary and 122 secondary extents are allocated to VSAM datasets. Any one correct me If I am wrong.
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics used cylinders by vb files Ebirezaey JCL & VSAM 20 Tue Sep 02, 2014 11:28 am how to calculate used space(cylinders... Pavankumar.m JCL & VSAM 12 Fri Mar 08, 2013 9:03 am How many Cylinders or Tracks of space... Elixir JCL & VSAM 15 Tue Nov 01, 2011 12:29 am Maximum rows a table can occupy suma_infy DB2 3 Fri Nov 19, 2010 2:51 pm Does Job on HOLD occupy an initiator? vasanthz All Other Mainframe Topics 11 Tue May 04, 2010 1:01 pm

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us