I imagine this wouldn't get you around the problem, but if you were sort the 
records in a separate DFSORT step, then feed the sorted data to your program, 
would it still complain about the number of records since it would encounter no 
need for any sorting at all?  Just a thought.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The most important accomplishment of our lives is not what we accomplish, 
but what we become.  -Rick Joyner, 2015-11 */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Charles Hardee
Sent: Thursday, January 12, 2023 11:43

I am trying to sort roughly 4295217295, records using DFSORT. DFSORT issues a 
message that I have exceeded the sort input record maximum. It appears that 
this maximum is 4294967295.

Since this is a program calling sort internally, and does so several times, I 
cannot do the "normal" thing of splitting the file down into smaller files, 
sort them, then merge them back together.

Anyone have any thoughts on this?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to