The following SAS program is submitted:
proc sort data=SASUSER.PROJECTS out=PSORT;
by Product Code descending Date Cost;
run;
Which of the following is true concerning the submitted program?
The following SAS program is submitted:
proc sort data=SASUSER.PROJECTS out=PSORT;
by Product Code descending Date Cost;
run;
Which of the following is true concerning the submitted program?
In the SAS program provided, the 'descending' keyword affects only the variable immediately following it, which is 'Date'. Each variable listed after 'by' in the 'proc sort' statement is considered independently unless each is explicitly preceded by 'descending'. Therefore, the correct answer is that the descending option applies only to the Date variable.
The descending option applies only to the Date variable. Correct Answer : A
a is correct