- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.