Forum Post: Re: Call Invoke - Output Longchar

  • Thread starter Thread starter pliscki
  • Start date Start date
Status
Not open for further replies.
P

pliscki

Guest
Hi Marian, If you try to run the same procedure with static code it will raise the following error: Cannot pass large objects as runtime parameters. (14449) Check what the documentation says about CLOB fields: CLOB (Character Large OBject) specifies a database table or temp-table field that contains a CLOB locator, which points to the associated CLOB data stored in the database. You must use a LONGCHAR to manipulate the character contents of a CLOB field in ABL. So you never manipulate a CLOB datatype directly in your ABL code, instead you must use a longchar variable. That is to say that you must assign the temp-table field to a longchar variable and then use this variable as a parameter. The same thing happens to BLOB fields, where you need memptr variable to manipulate it. Use the COPY-LOB statement to copy data between large objects.

Continue reading...
 
Status
Not open for further replies.
Back
Top