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 --<-----

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2 replies
  • 709 views
  • 0 likes
  • 3 in conversation