View previous topic :: View next topic
|
Author |
Message |
Chalcedony Herbertson
New User
Joined: 30 Dec 2010 Posts: 3 Location: Chennai
|
|
|
|
Hi,
While using an XML PARSE, the data is getting truncated.
EX: my input XML tag is <MyName>Mainframe</MyName>
when i display the XML-TEXT inside the "CONTENT-CHARACTERS" Event, i get two values "Mainfram" and "e".
Can any one please help me out with this?
Thanks |
|
Back to top |
|
|
mlp
New User
Joined: 23 Sep 2005 Posts: 91
|
|
|
|
Check the variable length of transmitting end and receiving end variables of your MOVE statement.
Code: |
MOVE <transmitting end VAR> TO <receiving end VAR> |
|
|
Back to top |
|
|
mlp
New User
Joined: 23 Sep 2005 Posts: 91
|
|
|
|
Sorry I mis-interpreted your post. I thought you are parsing the XML using pure COBOL code. But Enterprise COBOL has XML PARSE function. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
It would be nice to show the XML PARSE statement you use. |
|
Back to top |
|
|
Chalcedony Herbertson
New User
Joined: 30 Dec 2010 Posts: 3 Location: Chennai
|
|
|
|
Thanks Peter,
I am able to get it now.
The issue was the spilting of data was oaccuring at certain length .
so I tried reorganising the internal table size and it worked out.
I am not sure why it happened or the reason behind it. I will post the reason if i am able to find it. |
|
Back to top |
|
|
|