Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
FORMATTIME - CPU usage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: FORMATTIME - CPU usage
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

Senior Member


Joined: 21 Sep 2010
Posts: 2343
Location: NY,USA

PostPosted: Mon Aug 19, 2019 5:23 pm    Post subject:
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: 8526
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 19, 2019 6:05 pm    Post subject: Reply to: FORMATTIME - CPU usage
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    Post subject: Thanks
Reply with quote

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

New User


Joined: 25 Jan 2018
Posts: 26
Location: Australia

PostPosted: Tue Nov 19, 2019 8:55 am    Post subject: Reply to: FORMATTIME - CPU usage
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts usage of CASE in WHERE clause abdulrafi DB2 10 Wed Mar 18, 2020 4:25 pm
No new posts Usage of pre-processor statement in p... Sakthidevi PL/I & Assembler 1 Thu Nov 28, 2019 4:08 pm
No new posts Usage of external condition Sakthidevi PL/I & Assembler 1 Sat Nov 23, 2019 1:46 pm
No new posts Usage of Like statement in PL/I Sakthidevi PL/I & Assembler 3 Fri Nov 15, 2019 11:22 pm
No new posts ALTERNATE RECORD KEY usage for KSDS AIX sophia.lee COBOL Programming 1 Thu Jul 25, 2019 7:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us