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: 4649
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: 4649
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
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
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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