Hi. Do you Guys have any idea why the labeling is not working?
proc print data=work.CONTROL label;
var ProductType PapirNavn isinkode fondskode nominal_base ca_pv_base SystemNr DelBeh NotaNr riskType;
label nominal_base = 'Nominelt d.kr.'
ca_pv_base = 'Kursvardi d.kr.';
run;
Please post your log.
For reference, this works:
proc print data=sashelp.class label noobs;
var name;
label name='test';
run;
Result:
test Alfred Alice Barbara Carol Henry James Jane Janet Jeffrey John Joyce Judy Louise Mary Philip Robert Ronald Thomas William
It Works if im opening a complete new sas e.g. program but it is not working in an exisiting sas e.g. project?
Have you any idea why?
Steffan
Work in steps. Start with the code that works, and then add code and test with every single step. Something in your other code causes a problem.
And enable us to follow Maxim 2 (post the log).
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.