Calculating the size of many VSAM files.

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
yuvaraj43
New Member
Posts: 4
Joined: Mon Feb 22, 2016 6:37 pm

Calculating the size of many VSAM files.

Post by yuvaraj43 »

Hi,

We are part of a team which is working on a migration project. In one of the process, we need to analyze the size of a many VSAM dataset. Is there some way out for this? Can we write some JCL to do such a task in a single go?

Any help on this would help us to move forward.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Calculating the size of many VSAM files.

Post by Robert Sample »

Use IDCAMS to extract the attributes for each VSAM data set (only Unix System Services in z/OS has files). Write the output into a data set.
Write a program in the language of your choice to extract the relevant data from the data set.
yuvaraj43
New Member
Posts: 4
Joined: Mon Feb 22, 2016 6:37 pm

Re: Calculating the size of many VSAM files.

Post by yuvaraj43 »

Robert Sample wrote:Write a program in the language of your choice to extract the relevant data from the data set.
What is the relevant data you are referring to? Can you please help me about that? Are you referring to HURBA?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Calculating the size of many VSAM files.

Post by Robert Sample »

It really depends on what you mean by "size". HARBA gives the allocated while HURBA gives the used. Many times allocated is a better measure of size as the used may fluctuate.
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.”