Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
obtaining a simple list of dasd datasets using HLQ wildcards

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
tjk3030

New User


Joined: 18 Mar 2006
Posts: 22

PostPosted: Sat Mar 18, 2006 7:10 am    Post subject: obtaining a simple list of dasd datasets using HLQ wildcards
Reply with quote

I've been given the task of cleaning of datasets in our test region. I need something that will give me a listing of datasets using wildcards in the hlqf,
something like tjk.test.*. Its my understanding that we have HUGE nbr of datasets, I'm hoping to get a simple list ing to break out somehow and tell the appropriate people - delete this now!
Any ideas?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sat Mar 18, 2006 12:50 pm    Post subject: Re: obtaining a simple list of dasd datasets using HLQ wildc
Reply with quote

ISPF option 3.4 should do the trick.
Back to top
View user's profile Send private message
tjk3030

New User


Joined: 18 Mar 2006
Posts: 22

PostPosted: Sat Mar 18, 2006 6:04 pm    Post subject: Re: obtaining a simple list of dasd datasets using HLQ wildc
Reply with quote

I guess I wasn't clear enough. I need to create a batch job giving me a list of datasets, created date date in a flat file format. I need to send it to various groups and have them delete old data sets.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sat Mar 18, 2006 9:53 pm    Post subject: Re: obtaining a simple list of dasd datasets using HLQ wildc
Reply with quote

I would think you'd already know this, but you may want to use either the LISTCAT function of IDCAMS (you'll have to code your own filtering logic) or DFSMSdss SAR (PGM=ADRDSSU).

Another option is to code a program that would use the ISPF Services LMDINIT and LMDLIST in batch to generate the same type of list as ISPF Option 3.4 in the foreground.
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Mon Mar 20, 2006 11:23 am    Post subject:
Reply with quote

Hi,
The simple option which we are doing in our shop is to use the 3.4 option with wild card.Then use the SAVE command where all the file names,dataset(s) will be stored under the USERID.. data set.Then use SORT commads to get the info like the space occupied the each and every datset etc..

I also have a code to geerate using a BATCH JOB,But it will take a lot of time (CPU) to generate the report.This job is a combination of Rexx and SORT.Please give your private mail ID so that I can send that one to you if you are interseted.

Thank you
krisy
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extracting DDL for all list of intere... Ashishpanpaliya DB2 0 Mon May 21, 2018 4:08 pm
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 10 Thu Apr 12, 2018 11:33 pm
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us