Automatic Macro Variables |
Type: | Automatic macro variable (read only) |
Default: | null |
Details | |
Example | |
Using SYSSTARTID to Display the SAS Process ID from the Most Recent STARTSAS Statement |
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 |
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
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.