Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT07502 Status: Closed

ADMIN_CMD will fail with error SQL0104N when AUTOMATIC value is used for
UTIL_HEAP_SZ or HADR_SPOOL_LIMIT

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
SYSPROC.ADMIN_CMD works properly when updated with an integer 
value but fails with SQL0104N when updated with an 'AUTOMATIC' 
value for UTIL_HEAP_SZ or HADR_SPOOL_LIMIT 
 
 
Steps to reproduce the problem: 
 
$ db2 "CALL SYSPROC.ADMIN_CMD ('UPDATE DATABASE CONFIGURATION 
FOR <dbname> USING UTIL_HEAP_SZ automatic')" 
SQL0104N An unexpected token "automatic" was found following 
"UTIL_HEAP_SZ". 
Expected tokens may include: "<identifier>". SQLSTATE=42601 
 
$ db2 "CALL SYSPROC.ADMIN_CMD ('UPDATE DATABASE CONFIGURATION 
FOR <dbname> USING UTIL_HEAP_SZ 3000')" 
 
Return Status = 0 
 
 
 
$ db2 "CALL SYSPROC.ADMIN_CMD ('UPDATE DATABASE CONFIGURATION 
FOR <dbname> USING HADR_SPOOL_LIMIT automatic')" 
SQL0104N  An unexpected token "automatic" was found following 
"HADR_SPOOL_LIMIT".  Expected tokens may include: 
"<identifier>". SQLSTATE=42601 
 
$ db2 "CALL SYSPROC.ADMIN_CMD ('UPDATE DATABASE CONFIGURATION 
FOR sample USING HADR_SPOOL_LIMIT 3000')" 
 
  Return Status = 0
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Recommendation                                               * 
****************************************************************
Local Fix:
n/a
Solution
Problem Conclusion
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.03.2015
22.01.2016
22.01.2016
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.7 FixList