Thank you - that wasn't clear in the man page.
Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Sri h Kolusu Sent: Thursday, September 9, 2021 8:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: OMVS Sort Question > What I would like to do is to sort the 2nd field in reverse and then > sort the 1st field in ascending - this does not seem possible. Lionel, You need to use the option "r" to perform the descending sort on the 2nd field. –r Reverses the order of all comparisons so that sort writes output from largest to smallest rather than smallest to largest. Check this link which explains in detail https://www.ibm.com/docs/en/zos/2.4.0?topic=descriptions-sort-start-sort-merge-utility Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN