12-05-2016 04:22 PM
Is there a SAS macro variable which can be used to pull the program names from the DB2 tables, which is valid in both SAS EG and stored process other than “&_program” and “&_CLIENTTASKLABEL”
12-05-2016 09:07 PM
If you are using SAS Enterprise Guide, the macro variable _SASPROGRAMFILE can be used. This macro variable returns the full path and filename of the SAS program that is currently being run. This macro variable is available only for SAS program files that are saved on the same server on which your SAS Enterprise Guide session is running.