In FILEL an /SD command will sort by descending date. On Fri, Jan 7, 2011 at 10:22 AM, Charles Mills <[email protected]> wrote:
> It's been a long time since I used CMS, but what happens if you issue the > same sort command a second time? > > There is a VM-specific mailing list I think, but someone here should know > the answer. > > Charles > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf > Of Hansen, Dave L - Eagan, MN > Sent: Friday, January 07, 2011 7:08 AM > To: [email protected] > Subject: CMS Sort Descending? > > Group, > > 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? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > -- Mark D Pace Senior Systems Engineer Mainline Information Systems ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

