全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
4410 2
2017-06-16
在set data的时候出现了这样的报错,请问如何解决?
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));还是不是很明白。

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2017-6-16 14:21:04
set data(encoding=any)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2018-3-20 20:49:49
你好,请问楼主解决了吗?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群