SYSSTARTID Automatic Macro Variable

Contains the ID generated from the last STARTSAS statement (experimental).
Type: Automatic macro variable (read only)
Default: null
Note: STARTSAS statement is an experimental feature of the SAS System.

Details

The ID is a 32-character hexadecimal string that can be passed to the WAITSAS statement or the ENDSAS statement. The default value is null.

Example: Using SYSSTARTID to Display the SAS Process ID from the Most Recent STARTSAS Statement (experimental)

Submit the following code from the SAS process in which you have submitted the most recent STARTSAS statement to write the value of the SYSSTARTID variable to the SAS log:
%put &sysstartid
A process ID value, such as the following, is written to the SAS log:
41D20425B89FCED94036000000000000