IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX-to find all the datasets occupying HUGE volume on DASD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
surya4ug

New User


Joined: 08 Jul 2008
Posts: 62
Location: chennai

PostPosted: Fri Aug 22, 2008 2:15 am
Reply with quote

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

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Fri Aug 22, 2008 3:10 am
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Aug 22, 2008 11:47 am
Reply with quote

Have you tried using ISMF ?

It should be readily available from your primary menu. If not, ask your storage people.
Back to top
View user's profile Send private message
surya4ug

New User


Joined: 08 Jul 2008
Posts: 62
Location: chennai

PostPosted: Sat Aug 23, 2008 12:46 am
Reply with quote

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

New User


Joined: 30 Jun 2006
Posts: 9
Location: Germany, Eschborn

PostPosted: Sat Aug 23, 2008 11:10 am
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Aug 23, 2008 11:58 am
Reply with quote

As previously stated ISMF - easy to use and good reports
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top