Previous Page | Next Page

Automatic Macro Variables

SYSPROCESSID Automatic Macro Variable



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

Previous Page | Next Page | Top of Page