A good suggestion was using DFDSS 

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.adru000/by.htm

You can filter by FSIZE      Number of allocated or used tracks for the entire 
data set on all the volumes on which it resides (data set size)


Remember to use PARM='TYPRUN=NORUN' to make sure you do not do any actual 
actions.

You can probably use DUMP or COPY for this process.

Lizette

-----Original Message-----
>From: Lizette Koehler <stars...@mindspring.com>
>Sent: Aug 1, 2017 4:04 PM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Re: JCL to get a report of large datasets
>
>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