IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How many Cylinders does it will occupy?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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: 463

PostPosted: Mon Jun 05, 2006 10:34 am
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
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: 1353
Location: Israel

PostPosted: Mon Jun 05, 2006 7:30 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Allocated cylinders of a dataset DB2 12
No new posts used cylinders by vb files JCL & VSAM 20
No new posts how to calculate used space(cylinders... JCL & VSAM 12
No new posts How many Cylinders or Tracks of space... JCL & VSAM 15
No new posts Maximum rows a table can occupy DB2 3
Search our Forums:

Back to Top