A fix is available
APAR status
Closed as new function.
Error description
COEXISTENCE SUPPORT for utilities
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All DB2 11 for z/OS NFM users of RUNSTATS * * utility or inline STATISTICS * * collecting frequency statistics. * **************************************************************** * PROBLEM DESCRIPTION: To support the non-specification of * * the COUNT for the FREQVAL keyword. * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available * **************************************************************** The current DB2 v11 behavior with regard to the COUNT keyword in the FREQVAL syntax is as follows: When COUNT is not specified along with the COLGROUP FREQVAL keywords, DSNU071I - KEYWORD 'FREQVAL' REQUIRES KEYWORD 'COUNT' is issued. When COUNT is not specified along with the INDEX FREQVAL keywords, DSNU070I - KEYWORD 'XXXXXX' REQUIRES KEYWORD 'COUNT' is issued. Support in DB2 V11 is added to allow the non-specification of the COUNT keyword in the FREQVAL syntax. A default value of COUNT 10 is applied when the COUNT keyword is omitted. DB2COEXIST/K
Problem conclusion
Temporary fix
Comments
Code was modified to allow the non-specification of the COUNT keyword in the FREQVAL syntax in V11 NFM. A default value of COUNT 10 is applied. PI50675 introduces the following changes to externals: RUNSTATS TABLESPACE colgroup-stats-spec: >--.-----------------------------------------------------.--> | | | .----COUNT--10-MOST----------------. | '---FREQVAL--|----------------------------------|-----' | .--MOST----. | '---COUNT---integer--.----------|--' |--LEAST---| '--BOTH----' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. RUNSTATS INDEX correlation-stats-spec: .----------------------------------------------------------. | .-FREQVAL-NUMCOLS-1-COUNT-10-MOST----------------------. | | | | | >-V-|------------------------------------------------------.-'-> | | | .-COUNT-10-MOST-------------. | '-FREQVAL-NUMCOLS-integer|---------------------------|-' | .--MOST--. | '-COUNT--integer-.--------|-' |--LEAST-| '--BOTH--' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. INLINE STATISTICS The syntax diagram for LOAD/REORG/REBUILD INDEX will require to be changed as in the case of RUNSTATS utility for the addition of the new default of COUNT 10 MOST in the FREQVAL syntax. LOAD colgroup-stats-spec: >--.-----------------------------------------------------.--> | | | .----COUNT--10-MOST----------------. | '---FREQVAL--|----------------------------------|-----' | .--MOST----. | '---COUNT---integer--.----------|--' |--LEAST---| '--BOTH----' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. correlation-stats-spec: .-FREQVAL-NUMCOLS-1-COUNT-10-MOST--------------------. | | >--|----------------------------------------------------|---> | .----------------------------------------------. | | | .-COUNT-10--------. | | '-V-FREQVAL-NUMCOLS-integer|-----------------|---'---' '-COUNT--integer--' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. REORG TABLESPACE colgroup-stats-spec: >--.-----------------------------------------------------.--> | | | .----COUNT--10-MOST----------------. | '---FREQVAL--|----------------------------------|-----' | .--MOST----. | '---COUNT---integer--.----------|--' |--LEAST---| '--BOTH----' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. correlation-stats-spec: .-FREQVAL-NUMCOLS-1-COUNT-10-MOST--------------------. | | >--|----------------------------------------------------|---> | .----------------------------------------------. | | | .-COUNT-10--------. | | '-V-FREQVAL-NUMCOLS-integer|-----------------|---'---' '-COUNT--integer--' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. REORG INDEX correlation-stats-spec: .-FREQVAL-NUMCOLS-1-COUNT-10-MOST--------------------. | | >--|----------------------------------------------------|---> | .----------------------------------------------. | | | .-COUNT-10--------. | | '-V-FREQVAL-NUMCOLS-integer|-----------------|---'---' '-COUNT--integer--' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST. REBUILD INDEX correlation-stats-spec: .-FREQVAL-NUMCOLS-1-COUNT-10-MOST--------------------. | | >--|----------------------------------------------------|---> | .----------------------------------------------. | | | .-COUNT-10--------. | | '-V-FREQVAL-NUMCOLS-integer|-----------------|---'---' '-COUNT--integer--' No changes to the HISTOGRAM keyword syntax. When COUNT keyword is not specified, the default functionality is COUNT 10 MOST.
APAR Information
APAR number
PI50675
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
B10
Status
CLOSED UR1
PE
NoPE
HIPER
NoHIPER
Special Attention
YesSpecatt / New Function / Xsystem
Submitted date
2015-10-15
Closed date
2016-02-04
Last modified date
2016-03-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI35083
Modules/Macros
DSNUGPPF DSNUGPPK DSNUGPPM DSNUGPPP
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RB10 PSY UI35083
UP16/02/21 P F602
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
02 March 2016