Hello! I'm looking for a way to get usable value/label pairs when using proc export to export datasets to spss dataset files (.sav). The formats are taken from our standard format catalog to using the fmtlib option. This produces good results when looking at the resulting dataset in SPSS - but only for both numeric values and strings with only numbers like "01". When the value is a string with characters, I get extraneous spaces and unwanted symbols added at the end of the value, like so: Code: proc export data=data
outfile="path\file.sav"
dbms=sav replace;
fmtlib=FORMATS.FORMATS;
run; Grateful for any ideas I can try to make this work. Regards Fredrik
... View more