Thursday, December 12, 2013

How can I reduce CPU to a CICS app?

We have a CICS application that has to do many dynamic calls to another COBOL program. How can I get the CPU reduced with this? We have read the LE manuals and did everything they suggested, but to no avail. STROBES point to the overhead of the call.
To be honest I would've recommended dynamic calls as being more efficient than CICS LINK commands. I'm not sure I know the answer, but I may give you some things to look for:
  • Have you looked at a CICS trace to see what's happening during the calls? In general you should see an EXEC CICS LOAD followed by some getmains for LE storage.
  • Does the called program have a large working storage section with a lot of initialized variables?
  • What is your LE storage setting? Do you tell LE to clear all storage to zeros before invoking the program? You may be able to avoid this overhead if the program can work with "dirty" storage.
  • What are your LE stack and heap settings? If they're set incorrectly you may incur extra overhead as LE has to get more storage.
  • Are your LE runtime CSD module definitions up to date?
Note that you can look at your LE settings online by entering transaction CLER and hitting PF5. Hitting PF10 from the settings display will write them out to extra-partition transient data queue CESE.

0 comments:

Post a Comment