I used this, but it lists only the user's HLQ files.
Even though the manual says ALL datasets...

- Vignesh
Mainframe Infrastructure

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Richards, Robert B.
Sent: 16 October 2018 13:30
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Command to list aged, migrated items

Thanks Chuck...I forgot about the LIST command. My bad.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Chuck Kreiter
Sent: Tuesday, October 16, 2018 8:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Command to list aged, migrated items

HSEND LIST DSNAME ODS('your.dataset.name') select(age(60)).  This will give you 
anything migrated 60 days or more ago.  You can then use the program of your 
choice to pare down the list.  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Sankaranarayanan, Vignesh
Sent: Tuesday, October 16, 2018 4:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Command to list aged, migrated items

Hello everyone,

I'm looking for a command to list all ML1/ML2 datasets that have an age of
60 (2 months ago, they were migrated).
A working command would be ideal, as I'm looking to stick it into a batch job..

Thank you!

- Vignesh
Mainframe Infrastructure


MARKSANDSPENCER.COM
________________________________
Unless otherwise stated above:
Marks and Spencer plc
Registered Office:
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know 
and then delete it from your system; you should not copy, disclose, or 
distribute its contents to anyone nor act in reliance on this e-mail, as this 
is prohibited and may be unlawful.

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

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

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

----------------------------------------------------------------------
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