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).
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.