Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

allocated space report

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

New User


Joined: 05 Nov 2010
Posts: 41
Location: Amsterdam

PostPosted: Wed Aug 27, 2014 6:54 pm    Post subject: allocated space report
Reply with quote

Hi,

I need to generate a list/report of the space allocated for a group of datasets.

I have 400 odd GDGs with various generations and I want to create a list of only the latest generation.

any bright ideas?

Dan
icon_cool.gif
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: Wed Aug 27, 2014 7:21 pm    Post subject:
Reply with quote

Do you have the means to generate the space report once you know the dataset names of the zero generation or is it the whole sheebang you want ?
Back to top
View user's profile Send private message
Daniel Prosser

New User


Joined: 05 Nov 2010
Posts: 41
Location: Amsterdam

PostPosted: Wed Aug 27, 2014 7:37 pm    Post subject:
Reply with quote

I need a report that specifies the dataset name & allocated space for ALL of the datasets.

HLQ.**.*(0)

I know the names it's just there is rather alot of them.
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: Wed Aug 27, 2014 7:55 pm    Post subject:
Reply with quote

http://www.ibmmainframes.com/viewtopic.php?t=56457

The link above is a REXX utility to return the zero generation of a given GDG which may need a bit of tweaking as I believe it only operates on one GDG at a time, but can be easily changed to cope with more.

That will give you the zero generation of the GDG bases, so that just leaves the problem of the reporting function.

Do you have anything like FDRREPORT installed at your site ?
Back to top
View user's profile Send private message
Daniel Prosser

New User


Joined: 05 Nov 2010
Posts: 41
Location: Amsterdam

PostPosted: Thu Aug 28, 2014 1:59 pm    Post subject:
Reply with quote

That looks interesting, I'll have a little play and see what I can do.

The reporting doesn't need to be super pretty so I am sure I can make this work.

Thanks icon_biggrin.gif
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Sat Aug 30, 2014 2:39 pm    Post subject:
Reply with quote

The only problem with FDREPORT is you have to do a separate report for online and migrated datasets. Won't matter if you have all your (0) generations online though.
e.g.
//GDSLIST EXEC PGM=FDREPORT,REGION=128M
//SYSPRINT DD SYSOUT=0
//SYSOUT DD SYSOUT=0
//SYSUDUMP DD SYSOUT=0
//ABRMAP DD SYSOUT=*
//ABRSUM DD SYSOUT=*
//SORTLIB DD DSN=SYS1.SORTLIB,DISP=SHR
//SYSIN DD *
REPORT FIELD=(NAME,CAPBYTES,SIZE,GDGRELGN,GDGLIMIT,GDGFLAG)
XS XDSN=GDG.NAME%.*,GDGRELGN.EQ.(0)
SORT FIELD=(NAME)
SUMM FIELD=(CAPBYTES,SIZE)
PRINT SUM=Y,SORT=CO,DATATYPE=CATVTOC,RPTYPE=TABLE,
ENABLE=(FASTPATH,GDGONLY),RECORDSUMMARY=CLUSTER,
BYTEF=KILO,SUMBYTEF=MEGA


IDCAMS DCOLLECT might be an option.

Naviquest (ISMF in batch) is another option.

You can use ISMF option 1 panels directly but it can only do one dsname mask at a time.
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 Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts Daily report to be extracted from CA ... polymathtarun DFSORT/ICETOOL 5 Mon Jul 11, 2016 4:33 pm
No new posts Report view in Mobile devices Robert Sample All Other Mainframe Topics 0 Thu Jun 23, 2016 7:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us