11-24-2014 11:44 AM
If you are using DATA _NULL_ and a PUT statement to write out the data, it is easy to write out trailing blanks. Add a format specification to the PUT statement, for example:
put varname $25. ',' ... more variables ...;
This will write a total of 25 characters for VARNAME, including trailing blanks as needed to reach that length of 25.