On Fri, 7 Jan 2011 09:07:34 -0600, Hansen, Dave L - Eagan, MN <dave.l.han...@usps.gov> wrote:
> We maintain the SYSTEM CONFIG on z/VM using an exec that renames the members. I need to run this exec on the oldest file first. If I could sort FLIST/LISTF in descending date order I would be able to process the files in order from top to bottom. I looked at FLIST and found:" If the SORT options are specified when the FLIST command is issued, users should invoke their own sort routines while within the FLIST environent. The exec specified on the SORT option will be given control when the user issues a sort subcommand (/Sn) from the FLIST screen." I didn't find anything for LISTF/FILEL in regards to using a sort exec. > >Q). In reviewing the CMS SORT command I don't see an option to override the default sort order (ascending EBCDIC order). Is there a way to sort on an FLIST field in descending EBCDIC order? I may be a bit confused about what you're asking, but doesn't the /SD command in FLIST do exactly what you want? -- Walt Farrell IBM STSM, z/OS Security Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html