Knut Stolze <st****@de.ibm.com> wrote in message news:<bp**********@fsuj29.rz.uni-jena.de>...
W Gemini <wg*****@nowhere.com> wrote:
Do you have a trap file generated? (Should be in the form of t123456.000
under your sqllib/db2dump directory) SQL1131N means the fenced mode
process terminated abnormally. From the db2diag, it actually trapped and
thus should have generated a trap file. It would show us whether it
trapped in db2 or your stored procedure or in the load api.
On Windows, you should find the requested file under sqllib/db2 (or whatever
your instance is named).
To be
honest, I am not sure whether you can use db2load api since no
connection is allowed in a C stored procedure and db2load might make a
connection (I don't know for sure).
You can do it, for sure. ;-) The C stored procedure already has a
connection inheritted from the SQL session in which the procedure was
called.
Thanks all to direct me to get the trap file... Yes, i have the
file...runs upto 1324 lines...
below is the info
*** Start dump of instructions at point of failure ***
0x09000000043CE790 : 4200FFE8: bc OPCD:16 BO:16 BI:0 BD:16378
AA:0 LK:0
0x09000000043CE794 : E8A40000: ld OPCD:58 RT:5 RA:4 D:0 XO:0
0x09000000043CE798 : 30E7FFF8: addic OPCD:12 RT:7 RA:7 D:65528
0x09000000043CE79C : 7CA95038: and OPCD:31 RT:5 RA:9 RB:10 XO:28
Rc:0
0x09000000043CE7A0 : 7D295014: addc OPCD:31 RT:9 RA:9 RB:10 OE:0
XO:10 Rc:0
0x09000000043CE7A4 : 7D2C50F9: nor OPCD:31 RT:9 RA:12 RB:10
XO:124 Rc:1
0x09000000043CE7A8 : 40820034: bc OPCD:16 BO:4 BI:2 BD:13 AA:0
LK:0
0x09000000043CE7AC : E9040009: ldu OPCD:58 RT:8 RA:4 D:2 XO:1
0x09000000043CE7B0 : F8A70009: stdu OPCD:62 RT:5 RA:7 D:2 XO:1
0x09000000043CE7B4 : 7D095038: and OPCD:31 RT:8 RA:9 RB:10 XO:28
Rc:0
0x09000000043CE7B8 : 7D295014: addc OPCD:31 RT:9 RA:9 RB:10 OE:0
XO:10 Rc:0
0x09000000043CE7BC : 7D2C50F9: nor OPCD:31 RT:9 RA:12 RB:10
XO:124 Rc:1
0x09000000043CE7C0 : 4082002C: bc OPCD:16 BO:4 BI:2 BD:11 AA:0
LK:0
0x09000000043CE7C4 : E8A40009: ldu OPCD:58 RT:5 RA:4 D:2 XO:1
*** End dump of instructions at point of failure ***
*** Start stack traceback ***
0x09000000043CE7B0 strcat + 0xB0
0x09000000043CE494 truncate + 0x29C
0x0900000009B16FD4 sqloInvokeFnArgs + 0xC4
0x0900000009F0A8BC sqlerRunRoutine__FP13sqleInvokerCBPi + 0x4DC
0x0900000009F0A184 sqlerDyload__FP13sqleInvokerCBPi + 0x17C
0x0900000009BE8538 sqlerFmpListener__FP17sqlcc_init_structP18sqlerFmp ProcThreadcsUs
+ 0x183C
0x000000010000245C main + 0x458
*** End stack traceback ***
while the same code when converted to stand-alone esql-c works fine
without any error message.....while converting this to procedure gives
memory flow error...
any insights....
thanks in advance