View previous topic :: View next topic
|
Author |
Message |
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi,
1) I have a requirement to extract all the PDS(PDS only) that have the HLQ as XXX.*
2) With that list we have a requirement to extract all the PDS that use more than 80% allocated space.
For the first requirement,
I used 3.4 option and gave xxx.* with include Additional qualifiers option set to YES.
It was a huge list and tried to put the SAVE LIST command, but it was taking lots of time (I mean LOTS LOTS LOTS) and i cancelled it.
Will this operation load the mainframe too much? (I mean affecting production jobs)
I have very limited knowledge with catalogs, Will this occupy the catalog too much that it affects production job anyway.
I am aware of second requirement, but not sure about first.
Any advice please?
Thanks in advance, |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can use LMDLIST service with the STATS option.
O. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Sometimes I've needed to locate certain SYS1. datasets, and not knowing the second qualifier, I'd do the same 3.4 and got back a large return and it did take some time - mostly wall clock - because the request ends up searching just about all catalogs in the system.
Slow response does not always mean high CPU..... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If you have access to DCOLLECT records you can do this.
use SORT to select only the records you want
Code: |
//SYSIN DD *
OPTION VLSCMP
SORT FIELDS=(29,44,CH,A)
INCLUDE COND=(9,2,CH,EQ,C'D ',AND, * D RECORD *
79,1,BI,ALL,B'00000010',AND, * PDS / PDSE ONLY *
29,4,CH,EQ,C'XXX.') * DSN STARTS WITH *
/*
|
Also in the DCOLLECT records are space allocations and utilisations which will enable you to get the info that you want.
Take a look through the DFSORT documents as I recall Frank has one or two great examples using DCOLLECT data for space related reporting.
ISMF may well be able to get you the information too. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi,
Thanks 2 Ofer, Expact, "THE CICS GUY". I have no idea of DCOLLECT or LMSLIST.
I will read, try them out and let you know the results.
Thanks 4 ur time. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
|