SYSLOGAPPLNAME Automatic Macro Variable

Contains the value of the LOGAPPLNAME= system option.
Type: Automatic macro variable (read only)
Default: null

Details

The following code, when submitted from the current SAS session, writes the LOGAPPLNAME for the current SAS session to the log:
%put &syslogapplname;