ERROR: Some character data was lost during transcoding in the data set libref.datasetname. Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding.网上找了资料 http://support.sas.com/kb/52/716.html说
In order to confirm the mismatch, use the following code for further debugging where libref.dataset name is the name of the problematic data set:
/* Show the configuration file and the encoding setting for the SAS session */proc options option=config; run;proc options group=languagecontrol; run; /* Show the encoding value for the problematic data set */%let dsn=libref.datasetname;%let dsid=%sysfunc(open(&dsn,i));%put &dsn ENCODING is: %sysfunc(attrc(&dsid,encoding));还是不是很明白。


雷达卡



京公网安备 11010802022788号







