greeshma
Member
Code:
def VAR hDoc as handle no-undo. /* hDoc contains XML */
DEF VAR v-result AS LONGCHAR NO-UNDO.
DEF VAR mPointer AS MEMPTR NO-UNDO.
ll = hDoc:SAVE("LONGCHAR",v-result).
v-result = CHR(02) + v-result + CHR(03) .
COPY-LOB FROM v-result TO mPointer NO-CONVERT .
The current version is 9.1D and I cant use this code there. 9.1D is not supporting longchar .
XML is very small so that I can use character instead of Long char. Can anyone please suggest how I can read data into character. How I can achieve the same logic for character datatype ?