The EXEC statement is required in order to indicate to the operating system that the job is a sort/merge application. For a Disk Sort, the format of the EXEC statement is as follows.
Figure 1. Disk Sort EXEC Statement Format
To use a sort cataloged procedure, omit PGM= and specify the appropriate procedure name.
The PARM parameter may be used to pass the sort/merge program a variety of keyword parameters, modifying it to meet the needs of the individual application.