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.
Calculating the size of many VSAM files.
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Calculating the size of many VSAM files.
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.
Write a program in the language of your choice to extract the relevant data from the data set.
Re: Calculating the size of many VSAM files.
What is the relevant data you are referring to? Can you please help me about that? Are you referring to HURBA?Robert Sample wrote:Write a program in the language of your choice to extract the relevant data from the data set.
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Calculating the size of many VSAM files.
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.
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