BookmarkSubscribeRSS Feed
Kar17
Calcite | Level 5

This is an example from my teacher and i needs the last line that it wrotes generates for sas system, date and time

 

stat 3.PNG

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hello @Kar17 and welcome to the SAS Support Communities!

 

This appears to be a kind of standard footnote used in SAS Enterprise Guide. Posts by different users contain the identical FOOTNOTE statement creating it:

FOOTNOTE1 "Generated by the SAS System (&_SASSERVERNAME, &SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";

(found, e.g., here and here).

 

So, submit the above statement before your PROC TTEST step and the desired footnote will appear as shown in your screenshot. (Assuming that your are using SAS Enterprise Guide, as otherwise macro variable _SASSERVERNAME might not exist.)

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 929 views
  • 2 likes
  • 2 in conversation