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

FORMATTIME - CPU usage


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Nileshkul

New User


Joined: 09 May 2016
Posts: 24
Location: India

PostPosted: Sun Aug 18, 2019 5:22 am
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2591
Location: NYC,USA

PostPosted: Mon Aug 19, 2019 5:23 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Aug 19, 2019 6:05 pm
Reply with quote

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
View user's profile Send private message
Nileshkul

New User


Joined: 09 May 2016
Posts: 24
Location: India

PostPosted: Wed Aug 21, 2019 12:47 am
Reply with quote

Thanks for response.
Back to top
View user's profile Send private message
hankoerlemans

New User


Joined: 25 Jan 2018
Posts: 30
Location: Australia

PostPosted: Tue Nov 19, 2019 8:55 am
Reply with quote

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.

icon_lol.gif icon_lol.gif icon_lol.gif

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

 


Similar Topics
Topic Forum Replies
No new posts Usage of BINSEARCH PL/I PL/I & Assembler 1
No new posts Is there a way to determine Clist usa... CLIST & REXX 8
No new posts DB2 group member usage DB2 0
No new posts Any limit on usage of cursors ? DB2 1
No new posts Usage of processor directive and firs... PL/I & Assembler 4
Search our Forums:

Back to Top