BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
fierceanalytics
Obsidian | Level 7

Hello, 

Ran program that has many procedure and data steps. Runs fine. Each procedure, DS, upon finishing, reports as such 

"

NOTE: PROCEDURE CONTENTS used (Total process time):
real time 0.06 seconds
cpu time 0.03 seconds"

 

Great. Only that at the very end of the running, TOTAL real time, cpu time is NOT reported. How to resurface that total clock? I have this :options mprint mlogic label compress=yes obs=max;" taking effect. 

 

Thanks

Jia Xin

 

1 ACCEPTED SOLUTION

Accepted Solutions
4 REPLIES 4
fierceanalytics
Obsidian | Level 7
I do see the batch job log at SAS Studio. Now I wonder if I need the total or now since step by step clock details are available. Thanks.
Sajid01
Meteorite | Level 14

This is what I do when I want the program run duration in the SAS Log
1.As the first line in the code I have the following statement

%let start_time=%sysfunc(datetime());
2.At the end of the program have this data step
data _NULL_;

run_time=datetime() -&start_time.;

put The run duration was run_time time13.2;
end;

 

fierceanalytics
Obsidian | Level 7

One nice little option: options fullstimer; does the trick. Forgot all about it. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1518 views
  • 0 likes
  • 3 in conversation