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.