The LENGTH column modifier might be ignored in PROC SQL when using the DBSERVER_MAX_BYTES=1 LIBNAME option.
For example, if a database column contains a length of 8, then the following SELECT clause would be expected to result in a column with a length of 2. However, a column with a length of 8 occurs instead.
This behavior is likely to occur in SAS® Data Integration Studio jobs where column mappings display a warning in the GUI, and the generated code writes a warning message similar to the following:
A workaround for this issue is to explicitly truncate the column. For example, you could change the SELECT clause above to the following: