SORTSZE - Size of Sort Buffer

This Natural profile parameter specifies the amount of storage to be reserved for use by the sort program.

Possible settings 500 - 2048

Buffer size in KB.

Default setting 500  
Dynamic specification yes  
Specification within session no  


  1. This sort buffer is only allocated when executing a Natural program which contains a SORT statement.
  2. Increasing the buffer size setting leads to faster SORT processing, in particular when all data to be sorted fit into the sort buffer.