SYSTIME Automatic Macro Variable
Contains the time a SAS job or session began executing.
Type: |
Automatic macro variable (read only) |
Details
The value is displayed
in TIME5. format and does not change during the individual job or
session.
Example: Using SYSTIME to Display the Time that a SAS Session Started
The following statement
displays the time a SAS session started.
%put This SAS session started running at: &systime;
When this statement
executes at 3 p.m., but your SAS session began executing at 9:30 a.m.,
the following comment is written to the SAS log:
This SAS session started running at: 09:30