Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Given a Qualifier : Identify Total File Size

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
chinnarajr

New User


Joined: 01 Jun 2007
Posts: 16
Location: Chennai

PostPosted: Mon Oct 29, 2007 2:41 pm    Post subject: Given a Qualifier : Identify Total File Size
Reply with quote

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
View user's profile Send private message

hemanth.nandas

Active User


Joined: 18 Aug 2007
Posts: 120
Location: Chennai

PostPosted: Mon Oct 29, 2007 4:27 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Oct 29, 2007 8:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Oct 29, 2007 11:22 pm    Post subject:
Reply with quote

Look at the Smart Tricks document that Frank has published, I think it has something to do just that.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Mon Oct 29, 2007 11:49 pm    Post subject:
Reply with quote

There is a trick for "Dataset counts and space by high level qualifier", but it requires some pre-processing of DCOLLECT records so it may or may not fit the requirement.

For reference, the DFSORT Tricks are at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Oct 30, 2007 6:20 am    Post subject: Reply to: Given a Qualifier : Identify Total File Size
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Oct 30, 2007 6:27 am    Post subject: Reply to: Given a Qualifier : Identify Total File Size
Reply with quote

Hi,
I forgot to mention that LISTDSI does not support TAPE or VSAM files.



Gerry
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Oct 30, 2007 1:21 pm    Post subject: Reply to: Given a Qualifier : Identify Total File Size
Reply with quote

in case that the dfsort dcollect samples should not be enough

take a look at cbt FILE 206 , at www.cbttape.org,
it contains a REXX application to process dcollect data...
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us