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

How to calculate the size of an LDS


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ubm_ak19

New User


Joined: 07 May 2007
Posts: 8
Location: Pune

PostPosted: Tue Jul 22, 2008 12:19 pm
Reply with quote

Friends,

Could anyone of you tell me how to calculate the maximum size of a LDS including with its extents information
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Jul 22, 2008 9:16 pm
Reply with quote

What is an LDS?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 22, 2008 10:12 pm
Reply with quote

Hello,

LDS - Linear Sata Set - the "vsam" file type used for db2 physical database files.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Jul 23, 2008 8:22 am
Reply with quote

Hi,

You can find it from LISTCAT and from allocated space you can do that

This is a portion of LISTCAT OUTPUT

Code:

ALLOCATION                 
  SPACE-TYPE------CYLINDER 
  SPACE-PRI-------------50 
  SPACE-SEC-------------10 
Back to top
View user's profile Send private message
ubm_ak19

New User


Joined: 07 May 2007
Posts: 8
Location: Pune

PostPosted: Wed Jul 23, 2008 9:19 am
Reply with quote

Hi Premkrishnan,

Thanks for your help.
One more thing which strikes my mind is whenever for a Dataset primary space gets full , the dataset takes into account of secondary space and i want to know how any DBMS (for example:DB2) will take the extents concept here.

In the example told by you , you have mentioned the LDS primary alloc is 50 cyl and secondary alloc is 10 cyl , so what can be the maximum size of this LDS taking into account with its secondary allocation with extents.

Could you please help me out here.

Thanks in advance

regards
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jul 23, 2008 11:38 am
Reply with quote

ubm_ak19,

don't you ever read manuals? IBM Redbooks would be a good place to start.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top