You cannot calculate values to use in a report in CICS.
The values in your reports can come from the following:
You can specify calculations in a form that are similar to the calculations that are performed in a query. QMF evaluates calculations in a form by using the REXX language. Calculations can take advantage of all the built-in REXX functions. You can also specify REXX execs you write in a form. However, calculations in a form can affect performance.
You can create calculations to use in a report in one of the following ways:
DB2 QMF Reference describes expressions in detail. For more information on REXX execs, see OS/390 V2R10.0 TSO/E REXX Reference (for TSO) or VM System Product Interpreter Reference (for CMS). Your installation might not support use of calculations and REXX functions. Check with your QMF administrator before you try to use calculations in a report.