When assigning the value of a MEMPTR to a LONGCHAR variable using GET-STRING, i got an error 9324 (Attempt to exceed maximum size of a CHARACTER variable) is there any solution ?
Thanks in advance,
Yes, there is.
Use the command COPY-LOB from <source> to <target>.
Avoid using GET-STRING when the size of the memptr variable is unknown.
GET-STRING expects a character parameter, whichh has a maximum size of 31991 bytes. Hence the error.
Thank you very much !