12-18-2014 11:37 AM
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.
12-18-2014 12:07 PM
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.
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;
12-18-2014 02:12 PM
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.