mirror of
https://github.com/sasjs/core.git
synced 2026-01-03 15:40:05 +00:00
fix: adding trim to avoid converting trailing blanks
This commit is contained in:
@@ -159,7 +159,8 @@ data datalines_2;
|
||||
* binary data must be converted, to store in text format. It is identified
|
||||
* by the presence of the $HEX keyword in the format.
|
||||
*/
|
||||
else if upcase(format)=:'$HEX' then dataline=cats('put(',name,',',format,')');
|
||||
else if upcase(format)=:'$HEX' then
|
||||
dataline=cats('put(trim(',name,'),',format,')');
|
||||
else dataline=name;
|
||||
run;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user