IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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 All times are GMT + 6 Hours
Forum Index -> DB2
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
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
No new posts SQLCODE -950 in PREPARE statement ... DB2 2
No new posts How to resolve sqlcode of CALL ATTACH... DB2 3

Back to Top