1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error Attempt To Exceed Maximum Size Of A Character Variable. (9324)

Discussion in 'Development' started by skevin.john, Apr 13, 2017.

  1. skevin.john

    skevin.john New Member

    Hi,
    I am getting this error while using string function on longchar variable.

    def var lcx as longchar no-undo.

    put unformatted "debug : " string(lcx).


    Can any one suggest what needs to be done for this?

    Attempt to exceed maximum size of a CHARACTER variable. (9324)
     
  2.  
  3. Osborne

    Osborne Active Member

    The only way I can think of is use COPY-LOB:
    Code (progress):
    1. lcx = "debug : " + lcx.
    2. COPY-LOB FROM lcx TO FILE "Report.txt".
     
  4. Osborne

    Osborne Active Member

Share This Page