Chapter Contents

Previous

Next
SYSPROCESSID

SYSPROCESSID



Contains the process id of the current SAS process

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

Example 1: Using SYSPROCESSID to Display the Current SAS Process ID

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


Chapter Contents

Previous

Next

Top of Page

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