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
 

 

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: 4648
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: 4648
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: 182
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Obtaining file information pahiker COBOL Programming 25 Tue Sep 27, 2016 7:25 pm


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