Previous Page | Next Page

Automatic Macro Variables

SYSSTARTNAME Automatic Macro Variable



Contains the process name generated from the last STARTSAS statement.
Type: Automatic macro variable (read only)
Default: null

Example
Using SYSSTARTNAME to Display the SAS Process Name from the Most Recent STARTSAS Statement

Example


Example 1: Using SYSSTARTNAME to Display the SAS Process Name from the Most Recent STARTSAS Statement

Submit the following code from the SAS process in which you have submitted the most recent STARTSAS statement to write the value of the SYSSTARTNAME variable to the SAS log:

%put &sysstartname;

An example of a process name that can appear in the SAS log is as follows:

DMS Process (2)

Previous Page | Next Page | Top of Page