When saving a new or existing dataset (*.sav) as SAS v9+ (*.sas7bdat), an error is thrown and the resulting SAS file doesn't contain all of the original records.
StatTransfer message: The number of encoding errors exceeded the user-defined limit, execution will be stopped
Error # 6452
An error occurred while the output file was being written.
Execution of this command stops.
The Character Encoding is set to "Locale's writing system" instead of "Unicode (universal character set)".
Resolving the problem
The locale needs to be changed to Unicode.
Go to Edit > Options > General tab
Under 'Character Encoding for Data and Syntax', select the radio button for "Unicode (universal character set)".
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.