TRUNCWARN= LIBNAME Statement Option

Suppresses hard failure on NLS transcoding overflow and character mapping errors.

Valid in: SPD Server LIBNAME Statement
Default: NO

Syntax

TRUNCWARN=YES | NO

Required Arguments

YES

can cause hard failure on NLS transcoding overflow and character mapping errors.

NO

suppresses hard failure on NLS transcoding overflow and character mapping errors.

Details

When you are using the TRUNCWARN=YES LIBNAME statement option, data integrity might be compromised because significant characters can be lost in this configuration. The default setting is NO, which causes hard Read and Write stops when transcode overflow or mapping errors are encountered. When TRUNCWARN=YES, and an overflow or character mapping error occurs, a warning is posted to the SAS log. At table close time if overflow occurs, the data overflow is lost.
Last updated: February 8, 2017