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. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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