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:[email protected]] On
Behalf Of Sankaranarayanan, Vignesh
Sent: Tuesday, October 16, 2018 4:02 AM
To: [email protected]
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 [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN