Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SQLCODE -20398

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: SQLCODE -20398
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is SQLCODE -811 possible while fetchi... Abhi_1985 DB2 1 Tue Aug 18, 2020 12:19 am
No new posts SQLCODE=-204 SQLSTATE=42704 mughais27 DB2 4 Fri Feb 14, 2020 5:04 pm
No new posts Getting sqlcode 805 while executing R... abdulrafi DB2 10 Thu Dec 26, 2019 11:46 am
No new posts SQLCODE -950 in PREPARE statement ... PeD DB2 2 Sat Apr 20, 2019 7:00 pm
No new posts How to resolve sqlcode of CALL ATTACH... maxsubrat DB2 3 Fri Feb 22, 2019 11:54 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us