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.
For more information, see the section
MFJSTATS in the appendix
Environment Variables in your User's Guide.
Note: Setting the environment variable MFJSTATS to ON creates a report containing statistics for the SORT that is displayed to SYSOUT (applies to Windows environments only). 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:
//MFJSTATS DD SYSOUT=*