Hello SAS Communities,
I've ran the code below
and in the results, it does not show the labels but instead the original variable names. I'm sure its something really simple to fix, but it feel like I did everything correctly, but I dont know what else to do .
Thank you.
Try adding the LABEL option to your PROC PRINT statement.
BTW, please post your program test by copy and paste using the running man icon, not as screenshots as they are often unreadable.
Try this:
proc print data=ur_dataset label ;
id <>;
by <>;
var <>;
label
------ ;
run;
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.