There are two ways in which you can produce a statistics report for a SORT operation:
If you are not running under mainframe emulation, you can create a statistical report by using the MFJSTATS environment variable.
Note:Setting the environment variable MFJSTATS to ON creates a report containing statistics for the SORT that is displayed to SYSOUT. If a report file already exists for a previous SORT, the new statistics are appended to the end of the previous one. The
syntax is
MFJSTATS=ON.
If you are running under mainframe emulation, add the following to your JCL to create a spool output, in ASCII format, for
the SORT operation: