Executing CA Fast Check with ESTIMATED-KEYS keyword specified but receiving sort capacity exceeded error

Document ID : KB000052233
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Executing CA Fast Check for DB2 for z/OS CHECK DATA and CHECK INDEX with ESTIMATED-KEYS specified in the utility syntax but the execution fails with sort capacity exceeded errors.

The CA Fast Check execution may fail with one of the following depending on installed sort package:
CASO121E SORT CAP. EXCEEDED
ICE046A 1 SORT CAPACITY EXCEEDED
WER046A SORT CAPACITY EXCEEDED

Solution:

To properly control dynamic sort work allocation within CA Fast Check all of the following keywords are required in the utility syntax:

ESTIMATED-KEYS - An integer that specifies the total number of keys to be passed to the sort program for the tables / indexes being checked.
SORTDEVT - Device type for temporary data sets to be dynamically allocated by your sort program.
SORTNUM - An integer that specifies the number of temporary data sets to be dynamically allocated by the sort application program for each sort.

Example: ESTIMATED-KEYS 100000 SORTDEVT SYSDA SORTNUM 6