Hi Matthias,

sorry for the late reply.

> I have the table "REPORT_PARAMETERS" on server1.
> CREATE TABLE "REPORT_PARAMETERS"
> (
>       "FORM"               Varchar (64) ASCII,
>       "SORT"               Varchar (64) ASCII,
>       "LABEL"               Varchar (128) ASCII,
>       "NAME"               Varchar (256) ASCII,
>       "VALUE"               Varchar (128) ASCII
> )

> Now i've tried to export this data via REPMCLI.
> 
> ********** loader.prt **********
> // M  Loader    7.4.3    Build 017-123-039-277
>
> DATAEXTRACT FOR DATALOAD TABLE REPORT_PARAMETERS
> OUTFILE 'D:\Temp\REPMCLI\REPORT_PARAMETERS-ALL.command' 
> OUTFILE 'D:\Temp\REPMCLI\REPORT_PARAMETERS-ALL.data'

> // E -25350:  Conversion from UNICODE data to ASCII data is not supported; this 
> conversion may lose information
> // *
> ********** loader.prt **********
> 

i think your dbsystem parameters are :

_UNICODE     YES
DEFAULT_CODE UNICODE

> If I use the UCS2 switch it works, but I can't run the DATALOAD, 
> cause the fields in the target table aren't UNICODE.
> 

the usecase you describe is known but not supported yet.
currently the decision whether a conversion of char encodings is possible or not
depends on the system parameters _UNICODE and DEFAULT_CODE.
this rule is too restrictive and even an error as your usecase shows.
the bug will be fixed in one of the next releases.


-- 
Hans-Georg Bumes
SAP DB, SAP Labs Berlin
http://www.sapdb.org/


> 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to