Usage Note 24313: How to use data sets that were created with SASĀ® 9.1.3 (English with DBCS and UNICODE support) with SAS 9.1.3 (English)
In order to use data sets that you created with SAS 9.1.3 (English with DBCS and UNICODE support) with SAS 9.1.3 (English), you need to convert the encoding attribute in the SAS data sets from Shift-JIS to wlatin1.
Run the following code to convert one data set:
libname inlib cvp 'c:\temp';
libname outlib 'c:\' outencoding='wlatin1';
proc copy noclone in=inlib out=outlib;
select filename;
run;
|
Note: After you have converted it, test the new data set. If it is stable and has integrity, you can delete the old data set.
Run the following code to convert a library:
libname inlib cvp 'c:\temp';
libname outlib 'c:\' outencoding='wlatin1';
proc copy noclone in=inlib out=outlib;
run;
|
Note: After you have converted the library, test the new data sets. If they are stable and have integrity, you can delete the old data sets.
Run the following code as an alternative method:
proc datasets lib=work;
modify dataset_name / correctencoding=wlatin1;
run;
quit;
|
Operating System and Release Information
| SAS System | N/A | All | n/a | |
| SAS System | SAS Learning Edition | All | n/a | |
| SAS System | SAS BI Server | All | n/a | |
| SAS System | SAS Enterprise Guide | All | n/a | |
| SAS System | Base SAS | All | n/a | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Date Modified: | 2021-08-10 08:20:23 |
| Date Created: | 2005-07-20 13:35:53 |