SAS A00-231 Exam - Topic 1 Question 21 Discussion
The following SAS program is submitted:data work.test;type='SQL';if type='SAS' then description='SAS Program';else description='other'; length description 8;run;What occurs when the program is submitted?Select one:
D) The variable Description is created as an 11-byte character variable and the DATA step fails due to errors.
A) The variable Description is created as an 11-byte character variable and is assigned the value 'SAS program' in the DATA step.
B) The variable Description is created as a 5-byte character variable and is assigned the value 'SAS P' in the DATA step.
C) The variable Description is created as an 8-byte character variable and is assigned the value 'SAS Prog' in the DATA step.
Whitley
1 month ago