This scenario uses the
Certadv.All data set. Write a SAS program that does the following:
-
Create a footnote that contains
the text 'Printed on ' followed by the current date obtained using
a SAS function, and formatted month, day, year (for example, 'Printed
on July 30, 2019').
-
Create a macro named Test that
does the following:
-
accepts two keyword parameters,
Vars and Dsn
-
produces a PROC PRINT report from
the data set specified in the Dsn parameter, which contains only the
columns specified in the Vars parameters and only the rows that have
a Begin_Date of 21774
-
calls the Test macro, with the
Dsn value of Certadv.All and a Vars
value of Course_Code and Fee