We are trying to convert a NATURAL program that does an internal SORT to a COBOL program internal sort routine.
As part of the conversion we tried to compare the sort results of both codes (NATURAL and COBOL) output we found that Sorted records for similar key values are being produced in differently in NATURAL and COBOL.
Can you please with the reason why it is behaving differently, is there any difference in NATURAL and COBOL sorting routines and if so, how to solve the issue.
Use with direct or program invocation.
Overrides all other sources.
Accepts all DFSORT program control statements, and all EXEC PARM options, including those OPTION statement parameters ignored by SYSIN and SORTCNTL.
Permits comment statements, blank statements, and remarks.
look like the forum is becoming more and more a manual reading and searching service