Hello
I want to add format to variable x .
When I look at values of X in data set b I see that the values are the formatted values and not the original values.
Why did it happen?
What is the way to solve it?
I want to keep have the original values of X (222,333,444,555) but with a formatted values in behind (abcd,efgh,aabb,ddnn)
Data a;
input x ;
cards;
222
333
444
555
;
Run;
proc format;
value FFmt
222='abcd'
333='efgh'
444='aabb'
555='ddnn'
;
Run;
Data b;
set a;
format x FFmt.;
Run;