Is EQUALS implied if you're running a program sort instead of a JCL sort? I thought Chuck said he was running the sort inside a program which is why he couldn't just split the data apart and merge it back together.
Rex -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Sri h Kolusu Sent: Thursday, January 12, 2023 2:45 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: DFSORT maximum input records >> DFSORT issues a message that I have exceeded the sort input record maximum. Chuck, As Steve smith pointed out it Is your EQUALS parm that is limiting the number of records to be sorted. Do you really need EQUALS ( which is retain the order of duplicates). ? If you don't need it then you can pass NOEQUALS as an option OPTION NOEQUALS SORT FIELDS=(P,M,F,A) Or Simply SORT FIELDS=(P,M,F,A),NOEQUALS Btw if you are running on Z15 and higher you can use sort accelerator(with OPTION ZSORT) which does NOT have that limit. Further if you have any questions please let me know Thanks, Sri Hari 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 ---------------------------------------------------------------------- The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN