Previous Topic: Performing Arithmetic OperationsNext Topic: Demonstration


What You Can Do

You can perform arithmetic operations in your CA Culprit report.

How to Do It

For simple, one-step operations, code the following:

  1. The numeric field being used as the operand
  2. An operator that must have a space on either side
  3. The work field that is to contain the results
    017010 YR-SALARY / 52  WK-SALARY
    

For complex (two or more operations) statements, code the following:

  1. The word COMPUTE
    017010 COMPUTE (SALARY + 2000) X 0.10  BONUS
    

Arithmetic operations can be used