Hi Lizette,
I used this, same one as Chuck replied with -
HSEND LIST DSNAME ODS('your.dataset.name') select(age(60))
I don't think the output matters since I can say with ease that it shows just
the files under my HLQ (from TSO PROFILE PREFIX, I think).
DCOLLECT works but I was hoping a simple command has the answer..
- Vignesh
Mainframe Infrastructure
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Lizette Koehler
Sent: 16 October 2018 14:15
To: [email protected]
Subject: Re: [EXTERNAL] Re: Command to list aged, migrated items
You will need to show us the command you used and some of the output. You can
mask the HLQs but we need to see what the output looks like
Be aware that the manual has many parameters and you may need to play with the
LIST to get what you want.
You may also need to do more than one command if you need both ML1 and ML2
reports
Lizette
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On
> Behalf Of Sankaranarayanan, Vignesh
> Sent: Tuesday, October 16, 2018 5:44 AM
> To: [email protected]
> Subject: Re: [EXTERNAL] Re: Command to list aged, migrated items
>
> 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 [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
>
sage: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
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