You can preserve the order of identical collating records from input to output.
Use one of these techniques:
Do not use both the NOEQUALS keyword on the OPTION card and the DUPLICATES phrase, or the run unit will end.
related references
DFSORT Application Programming Guide (OPTION control statement)