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
 
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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Wanted to calculate TRK when i have B... Balu5491 JCL & VSAM 9 Wed Jul 19, 2017 5:43 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm

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