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

obtaining a simple list of dasd datasets using HLQ wildcards


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Sat Mar 18, 2006 12:50 pm
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
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

Global Moderator


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

PostPosted: Sat Mar 18, 2006 9:53 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts Run a simple JOB as Started Task All Other Mainframe Topics 4
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
Search our Forums:

Back to Top