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 size of an LDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How to calculate the size of an LDS
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Tue Jul 22, 2008 10:12 pm    Post subject:
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

Moderator


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

PostPosted: Wed Jul 23, 2008 8:22 am    Post subject:
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    Post subject: Reply to: How to calculate the size of an LDS
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: 6968
Location: porcelain throne

PostPosted: Wed Jul 23, 2008 11:38 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Wanted to calculate TRK when i have B... Balu5491 JCL & VSAM 7 Wed Jul 19, 2017 5:43 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts ALTER of an IDMS AREA with NEW/OLD pa... Awanti IDMS/ADSO 2 Mon Mar 14, 2016 10:01 pm


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