View previous topic :: View next topic
|
Author |
Message |
chinnarajr
New User
Joined: 01 Jun 2007 Posts: 16 Location: Chennai
|
|
|
|
hi,
i have a query to identify the total file size with a specifiec high level qualifier.
For example,
In my developement region, i want to find the total size of the files whose names are starting with the qualifier 'DEV.REG'.This includes all kinds of files(Flat,VSAM,GDG)
Please let us know if there is any JCL or Utility like IDCAMS or any other method is available for the same.
Thanks in advance,
Chinna. |
|
Back to top |
|
|
hemanth.nandas
Active User
Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
Hi Chinna,
Quote: |
In my developement region, i want to find the total size of the files whose names are starting with the qualifier 'DEV.REG'.This includes all kinds of files(Flat,VSAM,GDG) |
As I know, there are no Utilities which support your requirement.
But you have to do it in 3.4. I meant, Go To 3.4, Give High qualifier and Press Enter, It will displays all Datasets which are starts from High Qualifier. There Use Short Info command (S) against each dataset. You can find details what you wanted. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you use IDCAMS in batch, you can create a "report" of the datasets you are interested. With a bit of code you can read the "report" and calculate the total space used. This will work for dasd files.
If you want to find how much data is stored on cart/tape, you should be able to get the total from the tape library system (or the storage management people who support the tape library system). |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Look at the Smart Tricks document that Frank has published, I think it has something to do just that. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
if you can obtain a list of the dataset names as previously mentioned using IDCAMs, you can then input the file containing the fully qualified dataset names into the command LISTDSI
You should be able to call the command via REXX or CLIST.
eg.
X = LISTDSI("'"DSN"' NORECALL ")
Gerry |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I forgot to mention that LISTDSI does not support TAPE or VSAM files.
Gerry |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
in case that the dfsort dcollect samples should not be enough
take a look at cbt FILE 206 , at Use [URL] BBCode for External Links,
it contains a REXX application to process dcollect data... |
|
Back to top |
|
|
|