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.)

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS Training: Just a Click Away

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

Browse our catalog!

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