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 to calculate the Space parameter for VSAm

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

New User


Joined: 02 Jul 2006
Posts: 12

PostPosted: Sat Aug 25, 2007 11:16 am    Post subject: How to calculate the Space parameter for VSAm
Reply with quote

Hi,

can anyone explain how to calculate the Space parameter for both VSAm and Non Vsam dataset.

Thanks
venkat
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: Sat Aug 25, 2007 11:56 am    Post subject:
Reply with quote

What are the record attributes and lengths
Back to top
View user's profile Send private message
venkatraman

New User


Joined: 02 Jul 2006
Posts: 12

PostPosted: Sat Aug 25, 2007 3:36 pm    Post subject: Reply to: calculation of spaces
Reply with quote

The RECFm is VB and the record length is 2004 for non vsam dataset
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: Sat Aug 25, 2007 4:14 pm    Post subject:
Reply with quote

VB records are not a "fixed" calculation as by the nature of its attributes the records do vary in length.

Taking 2004 as the maximum record length, and using a BLKSIZE of 27998 which is the optimum for 3390 DASD, you will get

27998 / 2004 = 13.971 records per DASD block = 13 complete records.
Obviously if some of the records are shorter than 2004 then there will be a few more records in the block(s)

2 blocks per track = 26 records per track.

15 tracks per cylinder = 390 records per cylinder.

So if you have 10,000 records

You will require 10000 / 390 = 25.64 ..... 26 cylinders

So for 10,000 records I would code SPACE=(CYL,(30,5),RLSE)
Back to top
View user's profile Send private message
venkatraman

New User


Joined: 02 Jul 2006
Posts: 12

PostPosted: Sat Aug 25, 2007 4:37 pm    Post subject:
Reply with quote

Thank you[/img]
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 Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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