REXX to get the Dataset names grouped by Datasets types



IBM's Command List programming language & Restructured Extended Executor

REXX to get the Dataset names grouped by Datasets types

Postby siva219734 » Thu Mar 18, 2010 12:37 pm

I'm trying to code a REXX program using DCOLLECT to get all the active datasets on DASDs and their dataset attributes by taking the HLQ as input. And then prepare a report by grouping them according to the dataset type.

Request your help to provide me a basic REXX utility which I can customize to perform the following tasks.

1. Collect all the datasets on DASDs with HLQ as Input.
2. Group the datasets according to their data types.
3. Write the data collected in the second step to a sequential file.
--
No Me.... No Fun......!
Know Me... Know Fun....!
Siva Kumar Reddy
User avatar
siva219734
 
Posts: 11
Joined: Thu Mar 13, 2008 3:34 am
Location: Mumbai
Has thanked: 0 time
Been thanked: 0 time

Re: REXX to get the Dataset names grouped by Datasets types

Postby MrSpock » Thu Mar 18, 2010 2:55 pm

OK. Could you provide some idea of what you have so far or more details as to the actual process. I'm persoanally not familiar with DCOLLECT, so could you provide some more details on how you intend to use it.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: REXX to get the Dataset names grouped by Datasets types

Postby enrico-sorichetti » Fri Mar 19, 2010 1:12 pm

the cbt tape at cbttape.org
has good samples on how to process DCOLLECT data
also searching for DFSORT DCOLLECT will provide a link to IBM samples
http://www-01.ibm.com/support/docview.w ... g3T7000081
Request your help to provide me a basic REXX utility which I can customize to perform the following tasks.

please remember that this is a help forum, not a do it for me
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post