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
 

 

How many Cylinders does it will occupy?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Husna

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Mon Jun 05, 2006 8:38 am    Post subject: How many Cylinders does it will occupy?
Reply with quote

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))
Back to top
View user's profile Send private message

sandhyaragav

New User


Joined: 05 Apr 2006
Posts: 14

PostPosted: Mon Jun 05, 2006 9:54 am    Post subject: Re: How many Cylinders does it will occupy?
Reply with quote

No.of cylinders would be 1+(16*2) = 33 cyl

Sandhya
Back to top
View user's profile Send private message
Husna

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Mon Jun 05, 2006 10:19 am    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

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

Hi,

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


It is 15 only and not 16 and start with 1

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
Husna

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Mon Jun 05, 2006 11:19 am    Post subject:
Reply with quote

Hi Rupesh,

Thanks a lot.

So, final answer is... No.of cylinders would be 1+(15*2) = 31 cylinders.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Mon Jun 05, 2006 7:30 pm    Post subject:
Reply with quote

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).
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Jun 06, 2006 6:13 am    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Tue Jun 06, 2006 4:41 pm    Post subject:
Reply with quote

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.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

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


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