Skip to Content
avatar image
Former Member

String maximum length

Hi all,

I'm facing a simple problem: when building a string using CONCATENATE INTO the result gets truncated to 128 characters although the strings I need to concatenate are longer. The variable type is STRING.

Any idea?

Thanks for your help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 18, 2006 at 01:57 PM

    Hi,

    Change the Variable type to LRAW which has a length of

    32000 chars.

    Regards,

    GSR.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 18, 2006 at 01:58 PM

    Hi Tomas,

    Are you sure about it?

    Probably the list output widht is not sufficient?

    This worked for me:

    data: v_str type string.

    data: v_str1 type string value

    'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'

    .

    data: v_str2 type string value

    'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeex'

    .

    concatenate

    v_str1

    v_str2

    into v_str.

    write: v_str.

    Regards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded