gopikrishnan1984
New User
Joined: 21 Sep 2008 Posts: 8 Location: India
|
|
|
|
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? |
|