Hi , please help me here, should output data set with label change Annual Fee for Fee variable ? if not please explain me to understand
data work.AnualFee;
set cert.admit;
label Fee= 'Anual Fee';
run;
Thank You for helping me so far
@souji wrote:
Hi , please help me here, should output data set with label change Annual Fee for Fee variable ? if not please explain me to understand
data work.AnualFee;
set cert.admit;
label Fee= 'Anual Fee';
run;
Thank You for helping me so far
Your data step code will attach the label 'Annual Fee' to the variable FEE. If ADMIT did not have a variable named FEE then you will create a new one that has a missing value for every observation. If there was already a variable name FEE before there isn't anything in that code that will show you want the label used to be. You could run PROC CONTENTS on the CERT.ADMIT dataset and see what label, if any, was attached to FEE.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.