IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Calculate specific timestamp difference


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 05, 2010 4:06 am
Reply with quote

Hello pdighade,

Quote:
that tpm value I need to calculate .. Please help me with logic as soon as possible
You insist on non-standard terminology and then want it asap. . . icon_sad.gif

Please consider that if the best 2 of us were on-site and available to implement the requirement definition, we could do little. . . So far, there is no usable description/definition ("tpm" is not effectively communicating). You believe there is something easily attainable (and it probably is easily obtainable) and most likely something that many of us have done multiple ways. To you the requirement is obvious. Unfortunately it has not been clear to the people would help if they could.

As Pedro requested you need to post the "output" you want from 20 real records. Make sure these sample records cover all cases you want reported.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Mon Apr 05, 2010 7:47 am
Reply with quote

you say it is for performance measurement...

I question why you are checking in 10 second or even 1 minute intervals. Say you have good performance all day, but real bad performance in only one 10 second interval. What will you do? I do not think you can tune your system so quickly.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 05, 2010 8:39 am
Reply with quote

Your claim is that you are doing performance management, but you seem to be doing things in ways that are not standard to the industry. Have you looked at what the Computer Measurement Group provides as a guide to industry practices? What background do you have in computer performance measurement? Have you considered using your site's WLM data as a starting point rather than creating your own statistics and thus reinventing the wheel?

Using 10-second intervals is ludicrous -- that gives you 8,640 intervals per day, or 2,880 per shift. There is no way you can meaningfully do any kind of tuning on that number of intervals. 15-minute or 30-minute intervals are more commonly used and at least meaningful tuning can be done with that interval size.
Back to top
View user's profile Send private message
pdighade

New User


Joined: 21 Jul 2008
Posts: 40
Location: pune

PostPosted: Mon Apr 05, 2010 6:22 pm
Reply with quote

Robert,

Yes now I am trying with 30 min interval now. and will let you know if any issue occured
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 05, 2010 7:58 pm
Reply with quote

Hello,

The length of the interval is only one part of the equation. Even with a 10-minute "interval", there will be thousands and thousands of "interval overlaps".

You still need to determine the "rules" and post them.

As i mentioned earlier, what i believe you want to do is not difficult. . . It merely needs to be specified clearly.

Now is surely a good time to generate some representative "output" from a set of realistic sample data.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts To get the count of rows for every 1 ... DB2 3
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts Timestamp difference and its average ... DB2 11
Search our Forums:

Back to Top