The SORTOPTS option
specifies whether the host sort utility accepts the OPTIONS statement.
The OPTIONS statement is generated by the host sort interface only
if the 31-bit extended parameter list is requested via the SORT31PL
option.
If the SORT31PL and
NOSORTOPTS options are both specified, then not all of the available
sort options can be passed to the host sort utility. The sort might
fail if all of the options cannot be passed to the utility. In particular,
the sort work areas cannot be used because the SORT option cannot
be passed the value of the SORTWKDD= option.
You should therefore
specify the DYNALLOC option, even though this specification can cause
problems with multiple sorts within a single job. Older releases
of some vendors' sort utilities dynamically allocate sort work files
only if they are not already allocated. As a result, subsequent sorts
might fail if they require more sort work space than the first sort.