Skip to Content
avatar image
Former Member

concatination of varibles

hi,

How can i concatenate US with 17,5% please advice since both are of different data type i cant use

cocatinate 'us' 17,5 % into variable

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 13, 2007 at 07:01 AM

    Hi/////

    You can declare 17.5% as character type.

    ex:

    data : t1(2) value 'us' , t2(5) value '17.5%', t3(10).

    concatenate t1 t2 into t3.

    write t3.

    O/P : us17.5%

    I hope this is the thing you want.

    If not please dont hesitate to ask.

    Regards

    sandeep.

    Add comment
    10|10000 characters needed characters exceeded