It may not be relevant to this particular application, but it is often 
important 
to look at the big picture. Years ago, a client I was supporting had a batch 
job that ran extremely long. Analysis revealed that most of the time was spent 
in a calculation of the penalty for early withdrawal that would be imposed if 
money was withdrawn from CD before it reached maturity. This was done so 
that the CICS application could simply display the value when a depositor 
asked for the information. It turns out that this information was being 
requested for a tiny percentage of the accounts each day, but the calculation 
was being done for every account every day.

The soution: Move the calculation to the CICS application. Yes, it caused the 
CICS application to use more CPU and run a little bit longer. However it shaved 
hours of run time and lots of CPU time from the batch job.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to