dbTalk Databases Forums  

capture error code?

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss capture error code? in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shorti
 
Posts: n/a

Default capture error code? - 09-16-2010 , 05:34 PM






Hello, this is db2 v9.5 on AIX. We received a severe error and I am
investigating the cause. I have a PMR open but just for my knowledge
I wanted to know if there was a way to interpret at least an SQL error
from this entry in the diag log. This is the last line in the diag
log before a db2 trap:

2010-09-15-23.25.30.957325+000 I788758A506 LEVEL: Severe
PID : 7078080 TID : 2315 PROC : db2sysc
INSTANCE: ebony NODE : 000 DB : EBONY
APPHDL : 0-7 APPID: *LOCAL.ebony.100915232329
AUTHID : EBONY
EDUID : 2315 EDUNAME: db2agent (EBONY)
FUNCTION: DB2 UDB, base sys utilities, sqeLocalDatabase::FirstConnect,
probe:100
DATA #1 : Hexdump, 4 bytes
0x078000000073BCDC : FFFF F918

Does this last line have any meaningful information no admins? I
thought I read somewhere that it could be translated to an sql code
using a mask. Anyone know?

Reply With Quote
  #2  
Old   
Serge Rielau
 
Posts: n/a

Default Re: capture error code? - 09-17-2010 , 01:47 PM






It doesn't have to be a SQLCODE.

But let's try:

C:\>db2diag -rc FFFFF918

Input ECF string 'FFFFF918' parsed as 0xFFFFF918 (-1768).
ERROR: t:/db2_v97fp3/nt32/s100725/engn/pd/../sqz/sqlzwhatisrc.C:
Input ZRC 0xFFFFF918 (-1768) cannot be identified as a V7 or V6
ZRC value

C:\>db2 ? SQL1768;


SQL1768N Unable to start HADR. Reason code = "<reason-code>".

The -1768 would only make sense if this is a first connect and the
databse is being activated I'd guess.

Cheers
Serge
--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab

Reply With Quote
  #3  
Old   
shorti
 
Posts: n/a

Default Re: capture error code? - 09-20-2010 , 11:41 AM



On Sep 17, 11:47*am, Serge Rielau <srie... (AT) ca (DOT) ibm.com> wrote:
Quote:
It doesn't have to be a SQLCODE.

But let's try:

C:\>db2diag -rc FFFFF918

Input ECF string 'FFFFF918' parsed as 0xFFFFF918 (-1768).
ERROR: t:/db2_v97fp3/nt32/s100725/engn/pd/../sqz/sqlzwhatisrc.C:
* * * * *Input ZRC 0xFFFFF918 (-1768) cannot be identified as aV7 or V6
ZRC value

C:\>db2 ? SQL1768;

SQL1768N *Unable to start HADR. Reason code = "<reason-code>".

The -1768 would only make sense if this is a first connect and the
databse is being activated I'd guess.

Cheers
Serge
--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab
Thanks Serge!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.