IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to solve the Sqlcode -443


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Arunkumar R S R

New User


Joined: 06 Aug 2008
Posts: 14
Location: US

PostPosted: Mon Sep 08, 2008 7:26 pm
Reply with quote

Hi,

Can u please let me know how to solve the SQLCode -443.

It looks like the problem with the routine ExtractVarchar.

I am using the "extractVarchar" routione in declare cursor.

Thanks in Advance,
Arunkumar
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Mon Sep 08, 2008 7:27 pm
Reply with quote

Hello Arun,

could you please provide sqlstate for that?
Back to top
View user's profile Send private message
Arunkumar R S R

New User


Joined: 06 Aug 2008
Posts: 14
Location: US

PostPosted: Mon Sep 08, 2008 7:40 pm
Reply with quote

SQL State is

38X13 SQLSTATE RETURN COD

Thanks,
Arun.
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Mon Sep 08, 2008 8:15 pm
Reply with quote

What was the Msg-Text ? Please test your routine extractVarchar properly ...
Back to top
View user's profile Send private message
Arunkumar R S R

New User


Joined: 06 Aug 2008
Posts: 14
Location: US

PostPosted: Mon Sep 08, 2008 8:22 pm
Reply with quote

This is the qurey i am using for cursor declaration.

DECLARE CURNAME CURSOR FOR SELECT
DB2XML.extractVarchar(CAST(CAST(load_data AS CLOB)
AS DB2XML.XMLCLOB),
'/message:Message/key/keyNumber') AS KEY_NO;
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Mon Sep 08, 2008 8:35 pm
Reply with quote

can you post the content from of path "message:Message/key/keyNumber " from your XML ?
Back to top
View user's profile Send private message
Arunkumar R S R

New User


Joined: 06 Aug 2008
Posts: 14
Location: US

PostPosted: Mon Sep 08, 2008 8:42 pm
Reply with quote

I didn't get your question. what you mean by "the content from of path "message:Message/key/keyNumber " from your XML ". I didn't know about the extractvarchar functionallity and this is the existing code and it is working for other programs also.

Thanks,
Arun.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts how to solve this power failure shutd... ABENDS & Debugging 5
No new posts SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts Any idea about how to solve 3022 aben... IMS DB/DC 3
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top