SAS Advanced Programming for SAS 9 — Question 17

Which title statement would always display current date?

Answer options

Correct answer: D

Explanation

The correct answer is D, as it correctly utilizes the macro variable &sysdate, which always represents the current date in SAS. Options A and B do not use the correct syntax for displaying the current date, while option C has an unnecessary space before &sysdate, which can lead to incorrect formatting.