Executing Fast Check with ESTIMATED-KEYS keyword specified but receiving a sort capacity exceeded error
search cancel

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

book

Article ID: 52233

calendar_today

Updated On:

Products

Fast Check for DB2 for z/OS

Issue/Introduction

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

The 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

 

Environment

Release: r20
Component: Fast Check for Db2 for z/OS

Resolution

To properly control dynamic sort work allocation within 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

Additional Information

Use Sort Processing

Fast Check for DB2 for z/OS best practices