Figure 1. STOPAFT Format
The STOPAFT=n parameter specifies the number of records to be sorted or copied. These will be the first n records after E15, INCLUDE/OMIT and SKIPREC processing, if specified, have completed.
If STOPAFT=n has been specified on the SORT/MERGE control statement as well as in the PARM field, the PARM specification will take precedence.
STOPAFT is not compatible with merge applications, unless using FIELDS=COPY.