DB2 - Problem description
| Problem IT01139 | Status: Closed |
APPERR WITH -901 MIGHT OCCUR CALLING SP REFERENCING MODULE NESTED ARRAY TYPE IS CALLED BY SQLC PROGRAM | |
| product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problem description: | |
AppErr with sqlcode: -901 might occur under following conditions
1. SP1 (Stored Procedure 1) is called via embedded SQL
application
2. SP1 references module stored procedure SP2
3. SP2 references module nested array type
Here is the example of db2diag.log entry.
2014-03-26-11.40.37.647578+540 I3777470A907 LEVEL:
Severe
PID : 52225 TID : 2208041003280 PROC :
db2sysc 0
INSTANCE: db2inst1 NODE : 000 DB :
SAMPLE
APPHDL : 0-15214 APPID:
XX.XXX.X.XXX.42469.140326024037
AUTHID : DB2INST1 HOSTNAME: host66
EDUID : 2824 EDUNAME: db2agent (SAMPLE) 0
FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc,
probe:300
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -901 sqlerrml: 41
sqlerrmc: Array entry not found for type ID: -32041
sqlerrp : SQLNQD4A
sqlerrd : (1) 0x00000000 (2) 0x00000000 (3)
0x00000000
(4) 0x00000000 (5) 0xFFFFFF38 (6)
0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:
The stack trace in *.stack.txt in FODC_AppErr directory will be
like this.
.........
0x0000020002A28F1C _Z21sqlnqGetArrayTypeInfosP3locPsPiS1_Ph +
0x0310
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x0000020002AB3AA2
_Z23sqlnq_convertHVtoDatTypP8sqlrahvmbbiP17sqlnn_dat_TYPTYPEP3lo
c + 0x03ee
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x0000020002AEA6DA
_Z14sqlnq_sem_hostPP8stknode_i10actiontypePhP3loc + 0x145e
(/home/cdbinst1/sqllib/lib64/libdb2e.so.1)
0x00000200029A25BC _Z12sqlnp_smactnP8sqlnp_cbi + 0x0230
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x0000020002999704 _Z12sqlnp_parserP8sqlnp_cb + 0x06a4
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x000002000299B3EE
_Z10sqlnp_mainP12sqlnq_stringbP3locPP9sqlnq_qur + 0x0cf6
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x000002000259AEE2
_Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq
lrr_cmpl_enviiPP9sqlnq_qur + 0x2fea
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x00000200025A1738
_Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq
lrr_cmpl_env + 0x0034
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x0000020003C00860
_Z10sqlrr_cmplP8sqlrr_cbP11sqlrrstrings17sqlnn_compileModehP5sql
daPiPjPP9sqlri_shdP11compileInfo + 0x0554
(/home/db2inst1/sqllib/lib64/libdb2e.so.1)
0x0000020003DFF5D0
_Z18sqlra_recreate_pkgP8sqlrr_cbiicP15sqlra_func_pathh + 0x42b4
......... | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 10.1 Fix Pack 5 * **************************************************************** | |
| Local Fix: | |
execute rebind of SQC file package that is calling SP1 db2 rebind package <sqc_file_name> | |
| Solution | |
Problem was first fixed in DB2 UDB Version 10.1 Fix Pack 5 | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 18.04.2014 13.07.2015 13.07.2015 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.1.0.5 |
|