Calculate the VSAM space using LISTCAT and not DCOLLECT.

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
Binoy Nair
New Member
Posts: 2
Joined: Mon Nov 10, 2014 12:19 pm

Calculate the VSAM space using LISTCAT and not DCOLLECT.

Post by Binoy Nair »

Hi,

Is there any way to calculate the space taken by a VSAM file? With some research I came to know that the something known as DCOLLECT file can help me in this. DCOLLET files can be available with the storage group. But even knowing that does not help me because we can not go to storage team just like that, a business reason is needed. While I need to this space calculation for an experiment of my own.

I was planning to use IDCAMS LISTCAT control statements to collect the information about this but with that information I find mself totally clues on how to use it? Anyone of you please, can guide me to do such calculation using LISTCAT information?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1895
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Calculate the VSAM space using LISTCAT and not DCOLLECT.

Post by Robert Sample »

What do you mean by
Is there any way to calculate the space taken by a VSAM file?
Do you want to know the allocated space? Do you want to know the used space (which frequently is different and can be VERY different from the allocated space)? The HI-ALLOC-RBA and HI-USED-RBA fields give you good information, but they may not be accurate if the data set is used and open online while you're running the LISTCAT.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”