Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Calculating space for a PDS with 100 members

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

New User


Joined: 08 May 2009
Posts: 2
Location: Bangalore

PostPosted: Thu Jul 09, 2009 1:14 am    Post subject: Calculating space for a PDS with 100 members
Reply with quote

Hi!

A PDS should hold 100 members, each member having a maximum capacity of 50,000 records. Record length is 200 bytes each.

what minimum primary, secondary and directory values should be assigned in the SPACE parameter when allocating this PDS?

SPACE (CYL,(?,?,?))

Thanks
VS
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8152
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jul 09, 2009 1:26 am    Post subject:
Reply with quote

What did you calculate?

ISPF statistics or not?
Back to top
View user's profile Send private message
vignesh subramanian

New User


Joined: 08 May 2009
Posts: 2
Location: Bangalore

PostPosted: Thu Jul 09, 2009 1:35 am    Post subject: Reply to: Calculating space for a PDS with 100 members
Reply with quote

I referred to the last post in the below link to calculate the number of cylinders, but not sure of the value for directory

http://www.ibmmainframes.com/about24595.html

See my calculation below.

27998 / 200 = 13900, which is the optimum blocksize for a 3390 DASD.
This means that we get 139 records per block and two blocks on each
track. So 279 records on each track.

50,000 / 279 = 179.21 (rounded up to) 180 tracks of used space.

= 18,000 tracks for 100 members

180 / 15 = 12 cylinders of used DASD space.

= 1,200 cylinders for 100 members
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Thu Jul 09, 2009 2:19 am    Post subject: Reply to: Calculating space for a PDS with 100 members
Reply with quote

Your computations ( at least the intermediate steps) are a few bytes off
( even if You get the right results because of rounding )

for 3390 here are the exact figures

the best blksize for your case ( LRECL=200 ) is 27800 ( edited to correcta typo )
which gives 2 blocks per track for 278 record per track
which for a 50000 records for each member gives 50000 / 278 = 179.8561 tracks
which rounded gives 180 tracks for each member or 12 cylinders ( at 15 tracks per cylinder )
which gives 1200 cylinders ( for 100 members )

as far as the directory blocks are concerned ( for a PDS - not a PDSE )
see this post for the computation details
http://www.ibmmainframes.com/viewtopic.php?t=29878

with ispf statistics You will need
100/6 ==> 17 directory blocks

allocating in cylinders You should specify something along...
SPACE=(CYL,(1201,1200,44)) 1 track of directory blocks
the secondary allocation is arbitrary, for Your estimates, it allows one edit and replace for each member
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 09, 2009 11:22 am    Post subject:
Reply with quote

With directory blocks I always do my allocations in tracks.

The last track will hold only 44 blocks, where all others 45, so to fully utilise the track I use, 44,89,134,................ starting with 44, and then incrementing by 45
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 Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Need inputs on Space requirement and... ashek15 IMS DB/DC 0 Sat Apr 01, 2017 8:26 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us