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

SQLCODE -20398


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

New User


Joined: 21 Sep 2008
Posts: 8
Location: India

PostPosted: Wed Jan 15, 2014 7:36 pm
Reply with quote

Hi,

I'm trying to insert a table in which one column is defined as XML. In order to insert the row, i have defined the XML equivalent in COBOL as
01 ws-text.
49 ws-text-length pic s9(4) usage comp.
49 ws-text-data pic x(aaaa).

I read a PS file and i'm moving the respective value to length and Data. Then i execute insert. As it executes, it abends with SQLCODE -20398. Please let me know how to overcome this issue. Also let me know anything specifically we need to follow to insert into XML column?
Back to top
View user's profile Send private message
sureshpathi10

Active User


Joined: 03 May 2010
Posts: 154
Location: Kuala Lumpur

PostPosted: Wed Jan 15, 2014 7:48 pm
Reply with quote

You can try searching the internet.....

I found this useful:
This

if you still can't figure out give us more information on error message you're getting and the value that processing.
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 SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts SQLCODE=-204 SQLSTATE=42704 DB2 4
No new posts Getting sqlcode 805 while executing R... DB2 10
Search our Forums:

Back to Top