Thanks Lizette, that modify command is just what I'm after. PROF NOPREFIX-ing it just fails the command with RC8 when I tried.
- Vignesh Mainframe Infrastructure -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Lizette Koehler Sent: 16 October 2018 14:57 To: [email protected] Subject: Re: [EXTERNAL] Re: Command to list aged, migrated items And the other option. When doing work in TSO (option 6 etc... in ISPF) you probably need to remove your TSO Prefix. PROF NOPREFIX Issue HSEND command Then turn prefix back on when you are done. Lizette > -----Original Message----- > From: Lizette Koehler <[email protected]> > Sent: Tuesday, October 16, 2018 6:51 AM > To: 'IBM Mainframe Discussion List' <[email protected]> > Subject: RE: [EXTERNAL] Re: Command to list aged, migrated items > > And before you ask, you can do this in batch jcl with the COMMAND JCL > Statement. The USER= parm in JCL will need to have the ability to > submit MVS commands and DFHSM commands > > > Lizette > > > > -----Original Message----- > > From: IBM Mainframe Discussion List <[email protected]> On > > Behalf Of Lizette Koehler > > Sent: Tuesday, October 16, 2018 6:48 AM > > To: [email protected] > > Subject: Re: [EXTERNAL] Re: Command to list aged, migrated items > > > > Try this > > > > On the console enter the LIST portion of the command > > > > F dfhsm_task_name,LIST DSNAME ODS('your.dataset.name') > > select(age(60)) > > > > > > Sometimes in TSO it can restrict your process > > > > Lizette > > > > > > > -----Original Message----- > > > From: IBM Mainframe Discussion List <[email protected]> On > > > Behalf Of Sankaranarayanan, Vignesh > > > Sent: Tuesday, October 16, 2018 6:47 AM > > > To: [email protected] > > > Subject: Re: [EXTERNAL] Re: Command to list aged, migrated items > > > > > > 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 > > > > -------------------------------------------------------------------- > > -- 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
