BookmarkSubscribeRSS Feed
Gloveman71
Calcite | Level 5

Looking for any SAS samples of code to summarize mainframe performance data on less then 1 hr. intervals.  We currently summarize our reporting data to 1 hr., but I now need to summarize in 15min intervals for work on a performance problem. The data contains date(Month/Day/Year) and time(Hr. Min. Sec.) values.  Just trying to find an easy way to summarize it. The data come from our ASG Tmon CICS monitor software.

Hope somebody has already invented this wheel.

Thanx,

Jim Glover

2 REPLIES 2
Malv72
Calcite | Level 5

Hi Jim

So long as you have a variable with the time in it the below could work for you, 900 being the number of seconds in 15 minutes.

data temp;

format time1 - time3 atime1 - atime3 time8.;

time1 = '00:14:59't;

time2 = '00:15:00't;

time3 = '00:15:01't;

atime1 = int(time1/900)*900;

atime2 = int(time2/900)*900;

atime3 = int(time3/900)*900;

run;

Tim

jakarman
Barite | Level 11

For adjusting intervals you can use SAS(R) 9.3 Functions and CALL Routines: Reference intnx

Sample for analysing SMF, that is what ASG TMON CICS is delivering, can be found with eg MCG (mxg.com) . That is part of IT service vision.

---->-- ja karman --<-----

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 2 replies
  • 1227 views
  • 0 likes
  • 3 in conversation