To improve performance, you might want to modify the REGION parameter in your DB2® utility job step. You can also override some of the installation options at run time.
Because DB2 Sort manages memory allocation dynamically, setting REGION=0M is recommended for best performance.
You can specify the DYNALLOC, OPTMODE, and TUNEMSG parameters at run time.
The parameters can start in any column but must be completed on the current record.
DYNALLOC
This parameter specifies values for dynamic sort work allocation.
Syntax
>>-DYNALLOC-- = -+-cccccccc---------------+-------------------->< +-(--cccccccc--)---------+ +-(--,--nnn--)-----------+ '-(--cccccccc--,--nnn--)-'
This value specifies the 1- to 8-character name of the group of devices from which DB2 Sort dynamically allocates the sort work data sets.
This value can be omitted. If the value is omitted, specify a comma before the nnn value.
This value specifies the maximum number of sort work files that can be used. DB2 Sort can dynamically allocate data sets to bring the total number of sort work data sets up to nnn. Specify a value from 32 through 255. DB2 Sort automatically determines the appropriate number of sort work files to use.
OPTMODE
This value specifies the optimization mode for DB2 Sort.
TUNEMSG
This parameter specifies whether DB2 Sort will display additional informational messages for tuning purposes. These tuning messages provide information about the product's resource utilization, such as memory usage, sort work DASD space, and sort work EXCPs.
Syntax
//DB2SORTI DD *
DYNALLOC=(,50),OPTMODE=ELAP