APAR status
Closed as program error.
Error description
As of current in V82, V91 and V95. db2look has an option of -t which generates ddls at the table level. But -t option does not generate ddls of the column level changes. To Generate ddl at the column, now ddl for the whole database has to be genrated. For Ex. db2 "create table sample(id int, name varchar(20), place varchar(20))" DB20000I The SQL command completed successfully. db2 "grant update(name) on table "rajarase"."sample" to user "sahanant"" ---> column level grant DB20000I The SQL command completed successfully. db2 "create sam123(number int, color varchar(20))" DB20000I The SQL command completed successfully. db2 "grant update on table "rajarase"."sam123" to user "sahanant" --> table level grant DB20000I The SQL command completed successfully. ............... db2look -d test -a -t sam123 -x GRANT UPDATE ON TABLE "RAJARASE"."SAM123" TO USER "SAHANANT" ; --> it has generated table level grant COMMIT WORK; CONNECT RESET; TERMINATE; ................. now try with -e and -x option (rajarase@achilles) /home/rajarase $ db2look -d test -e -x -------------------------------------------- -- Authorization Statements on Column -------------------------------------------- GRANT UPDATE (NAME) ON "RAJARASE"."SAMPLE" TO USER "SAHANANT"; --> generated the same grant statement COMMIT WORK; CONNECT RESET; TERMINATE;
Local fix
As per current functionality, generate the DDL for the whole database to generate ddls at the column level.
Problem summary
DB2LOOK DOES NOT GENERATE COLUMN LEVEL DDL WHEN USING THE -T OPTION.
Problem conclusion
V81 FP18
Temporary fix
Comments
APAR Information
APAR number
JR31027
Reported component name
DB2 UDB WSUE WI
Reported component ID
5765F4301
Reported release
810
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-11-07
Closed date
2009-09-11
Last modified date
2009-09-11
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 UDB WSUE WI
Fixed component ID
5765F4301
Applicable component levels
R820 PSY
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"810","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
11 September 2009