| Automatic Macro Variables |
| Type: | Automatic macro variable (read only) |
| Default: | null |
| Details | |
| Example | |
| Using SYSPROCESSID to Display the Current SAS Process ID | |
| Details |
The process ID is a 32-character hexadecimal string. The default value is null.
| Example |
The following code writes the current SAS process ID to the SAS log:
%put &sysprocessid;
A process ID, such as the following, is written to the SAS log:
41D1B269F86C7C5F4010000000000000
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.