Previous Page | Next Page

Automatic Macro Variables

SYSTIME Automatic Macro Variable



Contains the time a SAS job or session began executing.
Type: Automatic macro variable (read only)

Details
Example
Using SYSTIME to Display the Time that a SAS Session Started

Details

The value is displayed in TIME5. format and does not change during the individual job or session.


Example


Example 1: 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

Previous Page | Next Page | Top of Page