Chapter Contents

Previous

Next
SYSSTARTID

SYSSTARTID



Contains the id generated from the last STARTSAS statement

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

Example 1: Using SYSSTARTID to Display the SAS Process ID 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 SYSSTARTID variable to the SAS log:

%put &sysstartid

A process id value, such as the following, is written to the SAS log:

41D20425B89FCED94036000000000000


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.