BookmarkSubscribeRSS Feed
chelly
Calcite | Level 5

Dear SAS Gurus,

 

I am totally new to SAS and I need your help to determine some statistics for our total batch and cpu hours consumed per month.

We are running on SAS 9.2 on the mainframe with mxg.

 

I ran a report against RMFINTRV to determine the CECSUSEC and CPUOVHTM but I do not know subsequent steps to make a formula and get the actual stats.

 

set detail.mfintrv;

if date = '01jan2018'd;

proc print split = '*';

var date hour system cecsusec cpuovhtm;

endsas;

 

Can you please assist me ?

 

Total Batch CPU HOURS consumed per month
Total On Line CPU HOURS consumed per month
Average Batch Milliseconds per Transaction
Average OnLine Milliseconds per Transaction

 

 

 

 

 

1 REPLY 1
Kurt_Bremser
Super User

Please provide an example of your dataset (data step with datalines, see my footnotes).

 

Since your code subsets to a single day, there is no sense in getting a monthly report out of 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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 532 views
  • 0 likes
  • 2 in conversation