I have created a SAS code to generate automatic weekly report in an ODS Excel file. The file will contain some tables. The titles of those tables are like,
"Table 1. Number of items sold in the most recent week (start date of the recent week to end date of the recent week)"
"Table 2. Number of items sold in the previous week (start date of the previous week to end date of the previous week)"
End date of the recent week will be the system date (the date when the SAS code will be run to generate the report).
I would like to use some way so, I do not need to change the dates in the titles every week. For example "&SYSDATE" print the date of running the code.