I would write an REXX.

You could then specify the HLQ.  And then use LISTC lvl("hlq") all

Run through the output finding the full DSN.  Then use the LISTDSI to see the 
size of the file.

If it matches your requirements, you can SAY the data.

This can be in a Batch TSO Step.

Or go to the CBTTAPE.ORG and see if there is a freeware function you can use.


Lizette



-----Original Message-----
>From: Sri h Kolusu <skol...@us.ibm.com>
>Sent: Aug 1, 2017 3:44 PM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Re: JCL to get a report of large datasets
>
>Keeping it simple solution
>
>1. OPTION 3.4
>2. HLQ.*  ( Make sure you have  /  Include Additional Qualifiers)
>3. Type SAVE <any name> and hit Enter
>4. The list will be saved as HLQ.anyname 
>5. View/Edit list dataset HLQ.anyname 
>6. Issue the command SORT 75 87 D
>7. You got the DSNAME and the tracks.
>
>Note : This method is NOT applicable to migrated datasets.
>
>You can run HLIST command on migrated datasets on LEVEL and get the 
>listing into a dataset. 
>
>Thanks,
>Kolusu
>
>IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> wrote on 
>08/01/2017 02:55:51 PM:
>
>> From: Ron Thomas <ron5...@gmail.com>
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Date: 08/01/2017 02:56 PM
>> Subject: Re: JCL to get a report of large datasets
>> Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>
>> 
>> Can i get a sample job or so to pull the information based on the 
>> high-level qualifier of dataset ? Thanks!
>> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to