×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi Dave,
It's a long story. The original file had CCSID 13488 but I needed the key
fields to be in a different sequence & hence I had to recreate the file.
In doing so the CCSID changed to 835. This may be the reason why the
statement did not work. I then recreated the file with CCSID 13488 & it
works just as you say.
Thanks again, you've been of great help.
BR
Ewart
Dave Murvin
From:
Dave Murvin <davem@xxxxxxxx>
To:
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Cc:
Date:
12/04/2009 12:16 AM
Subject:
Re: AW: Concatenating G type variables
Ewart,
If vnani and vnobj are already CCSID 13488 (Ucs2), you should not need
the %Ucs2 on them.
Just the
vnani = %trim(vnani) + %Ucs2('.') + %trim(vnobj);
should do the trick. You only have to change the fields that are not
already Ucs2.
Dave
ewart.desouza@xxxxxxxxxxx wrote:
Hi Dave,
Thanks a million. All the fields do have CCSID 13488. I had to change
all
the fields to Ucs2 but it works fine now.
vnani = %Ucs2(vnani) + %Ucs2('.') + %Ucs2(vnobj);
For me that tip was fantastic to get me started !!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.