The name and location of the currently executing SAS program can automatically be displayed along with the output that it generates through the use of the SAS_EXECFILEPATH environmental variable.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.