View previous topic :: View next topic
|
Author |
Message |
surya4ug
New User
Joined: 08 Jul 2008 Posts: 62 Location: chennai
|
|
|
|
I have a requirement of listing all the datasets on the DASD that are occupying large volumes. The dataset high level qualifier would be provided in the input file of the JCL. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
It is not clear what you are asking for.
But here is partial JCL to list all datasets on a single volume
Code: |
//STEP1 EXEC PGM=IEHLIST
//SYSPRINT DD SYSOUT=*
//DD2 DD UNIT=3390,DISP=OLD,VOL=SER=SYS175
//SYSIN DD *
LISTVTOC VOL=3390=SYS175
/*EOF |
If you really need rexx, you would allocate a DD for the volume and allocate and build a SYSIN file, then call IEHLIST. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you tried using ISMF ?
It should be readily available from your primary menu. If not, ask your storage people. |
|
Back to top |
|
|
surya4ug
New User
Joined: 08 Jul 2008 Posts: 62 Location: chennai
|
|
|
|
Really sorry...not sure why my previous post was cut short...OOPS!!
The problem we face usually with the DASD is, space shortage, as people who use common LPAR ( logical partition ) create huge datasets and because of that, the sort/format jobs keep abending with SE37 error. I want to know if we can create a REXX program that lists the datasets created by a particular user, with the space attributes so that we can identify, whom the problem is with, exactly. If we can figure out the userid of that person who has created these huge files , even before contacting the storage mgmt system representatives, that would be great!!! Please let me know if my requirement is understandable. |
|
Back to top |
|
|
saturn
New User
Joined: 30 Jun 2006 Posts: 9 Location: Germany, Eschborn
|
|
|
|
Hi,
for the members of PDS data sets you can use LMMLIST to retrieve the user from the field zluser. Unfortunately this information is not available for PS data sets.
LMDLIST (ispf service) gives you the file statistics, but even not the user how created the PS.
Regards
Joern |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
As previously stated ISMF - easy to use and good reports |
|
Back to top |
|
|
|