Question 40: You have been given below code
data course2017;
infile data;
input COURSE_ID 1-3 COURSE_NAME$ 5-20 LOCATION$ 22-30 FEE 32-35 DATE$ 36-47
DURATION 48-50;
Label FEE="Total Fee"
format amount dollar12.2;
run;
proc print data=course2017 label;
var COURSE_ID COURSE_NAME LOCATION FEE DATE DURATION TotalFee ENTIREFEE FEETYPE;
Label FEE="Total Course Fee"
format amount dollar10.;
run;
When above program is executed than which of the following statement is correct?
- It will use format and label as
Label FEE="Total Fee"
format amount dollar12.2;
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 2 Exp : There are two ways by which you can assign format and label to a variable. However, when you apply the format in a Data step,
You can access to full explanation to question and answer from this page.