KEYLEN keyword
The KEYLEN keyword specifies the sort key length of the largest database change record to be processed.
By using multiple sorts with different KEYLEN values, you can reduce the amount of sort work space used when change accumulating database data sets with different key lengths.
If you use this keyword in conjunction with NAME(*ALL) you must specify a key length value that is as large as the greatest key length to be encountered. In all other circumstances, when the largest KEYLEN value is less than the value of the largest record, the Change Accumulation utility automatically increases the KEYLEN value.
When the largest KEYLEN value is more than the value of the largest record, the Change Accumulation utility automatically decreases the KEYLEN value.
If you specify SERIAL(2), do not specify KEYLEN.
Use | Optional on the SORT control statement |
---|---|
Related keyword | |
Syntax | KEYLEN(nnn) |
Value | nnn Numeric (1-255). Identifies the largest sort key length. |
Default | None |
Related topic