View previous topic :: View next topic
|
Author |
Message |
Nileshkul
New User
Joined: 09 May 2016 Posts: 43 Location: India
|
|
|
|
Hi, we have an online module using FORMATTIME for millions of times per day. It is redundant and formatted time not used in module anywhere.
Any idea if FORMATTIME removal can save CPU consumption? It is EXEC CICS call so is it costly in CPU usage?
Any pointer or input would help.
Thanks |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
I think, It’s not countable at large as to cause any performance issues or high CPU but if you are 101% sure it’s not needed then you can take that out.
Additionally, if you have any Monitoring tools then you can find this info right there and make decisions or talk to CICS Admin. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Any idea if FORMATTIME removal can save CPU consumption? It is EXEC CICS call so is it costly in CPU usage? |
Common sense will (or should) tell you that any code you remove will save CPU time. IBM's API calls (EXEC CICS) are pretty efficient so no, one individual FORMATTIME call will not save much CPU time -- but removing millions of them could have a significant difference in the CICS region CPU time usage. Will removing them actually have a significant CPU savings? Only by removing them can you know for sure. |
|
Back to top |
|
|
Nileshkul
New User
Joined: 09 May 2016 Posts: 43 Location: India
|
|
|
|
Thanks for response. |
|
Back to top |
|
|
hankoerlemans
New User
Joined: 25 Jan 2018 Posts: 62 Location: Australia
|
|
|
|
Expensive ? How exactly ?
What's the cost of removing the code, plus testing, plus measuring, etc. versus some nebulous gain for a clock function that is probably exercised by your processor much more than that amount across all functions.
Better off introducing an edit macro type of routine into your devops stream and state "ABORT WILL ROBINSON....I HAVE DETECTED A BAD FORMATTIME CICS CALL AND YOU SHOULD REMOVE IT BEFORE ADVANCING INTO THE CRATER".
Or some variation of that doesn't show my age so much.
And then the problem will eventually disappear.
Or you'll right-size to a Unix platform and day-dream about the good old mainframe days. |
|
Back to top |
|
|
|