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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: REXX-to find all the datasets occupying HUGE volume on DASD
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

Senior Member


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

PostPosted: Fri Aug 22, 2008 3:10 am    Post subject: Reply to: REXX-to find all the datasets occupying HUGE volum
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: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 22, 2008 11:47 am    Post subject:
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    Post subject: Reply to: REXX-to find all the datasets occupying HUGE volum
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Aug 23, 2008 11:58 am    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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