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 IT01253 Status: Closed

DB2 TRAP IN SQLNQ_HANDLE_MODULE_OBJ_REF WHEN RUNNING CREATE PROCEDURE

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
A trap will be generated in sqlnq_handle_module_obj_ref when 
Create Procedure is run which contains a UDI statement for which 
an inlined trigger exists and the trigger, in turn, calls a 
module routine. The trigger needs to have been invalidated for 
the trap to occur e.g. by changing the data type of a column. 
 
Crash stack will look similar to: 
 
<StackTrace> 
sqlnq_handle_module_obj_ref 
sqlnq_call_stmt 
sqlnp_smactn 
sqlnp_parser 
sqlnp_main 
sqlnn_cmpl 
sqlnn_cmpl 
sqlra_compile_var 
sqlra_find_var 
sqlra_get_var 
sqlri_ddl_common 
sqlriddl 
sqlriSectInvoke 
sqlra_internal_sql 
sqlnn_regen_trigger 
sqlns_unpack_triggers 
sqlns_unpack_cstrnts 
sqlns_cmpl_cstrnts_main 
sqlns_exp_constraints 
sqlns_qgs 
sqlnn_cmpl 
sqlnn_cmpl 
sqlrr_cmpl 
sqlrr_compile 
psmPackageGenMaddStatement 
psmQdDueryStringLmakeSection 
psmPVMCodeGeneratorIgenerate 
psmPVMCodeGeneratorIgenerate 
psmPVMCodeGeneratorIgenerate 
psmPVMCodeGeneratorKgenProgram 
psm_ctrlQpsm_generate_PVM 
psm_gen_program 
sqlnq_create_proc_end 
sqlnq_proc_create_stmt 
sqlnp_smactn 
sqlnp_parser 
sqlnp_main 
sqlnn_cmpl 
sqlnn_cmpl 
sqlra_compile_var 
sqlra_find_var 
sqlra_get_var 
sqlri_ddl_common 
sqlriddl 
sqlriSectInvoke 
sqlrr_execute_immediate 
sqlrr_execimmd 
sqljs_ddm_excsqlimm 
sqljsParseRdbAccessed 
sqljsParse 
sqljsSetupDrdaAsForApp 
sqljsSetupDrdaAsForApp 
sqljsDrdaAsDriver 
sqljsDrdaAsDriver 
sqeAgentGRunEDU 
sqzEDUObjJEDUDriver 
sqloEDUEntry 
</StackTrace>
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.5 and Fix Pack 4                   * 
****************************************************************
Local Fix:
Run 'call sysproc.admin_revalidate_db_objects' on the trigger to 
revalidate it prior to running the Create Procedure command.
available fix packs:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Solution
Problem was first fixed in DB2 Version 10.5 and Fix Pack 4
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.04.2014
08.09.2014
08.09.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.4 FixList