A fix is available
APAR status
Closed as program error.
Error description
If an Object Compare job is run with Validate, and there is a primary key or any constraint in the table definition without the keyword CONSTRAINT, an ADB3018E error may result, as in the following example: ADB3018E An error occurred while processing the Table >tablename< object in the statement type of CREATE . The column >columname< is nullable. PRIMARY KEY, HASH KEY or UNIQUE constraint cannot be defined on it. Keyword: msgadb3018e
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * and Db2 Object Comparison Tool for z/OS. * **************************************************************** * PROBLEM DESCRIPTION: Using the validate option in a compare * * might result in RC 8 and error message * * ADB3018E. * **************************************************************** Using compare with the "Run Validate" option set to V and source DDL that contains a primary key without a CONSTRAINT keyword might result in the job incorrectly issuing the following error message, and ending in RC 8: ADB3018E An error occurred while processing the Table >schema<.>name< object in the statement type of CREATE. The column >column_name< is nullable. PRIMARY KEY, HASH KEY or UNIQUE constraint cannot be defined on it.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH39039
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-07-16
Closed date
2021-09-17
Last modified date
2021-10-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI77211
Modules/Macros
ADB2WVL ADB3000
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI77211
UP21/09/21 P F109 {
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.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]
Document Information
Modified date:
02 October 2021