E16 user exit: sorting current records when NMAX is exceeded

This routine tells DFSORT that, when DFSORT issues the message "NMAX EXCEEDED", it must sort only the records already read in.

Figure 1. E16 User Exit Example
E16    CSECT
       LA      15,0      SET RETURN CODE
       BR      14
       END