COMPUTE / TOTAL Statements
Overview
The COMPUTE statement can work with Alpha fields when used with the P and M operators. It should continue to replace the non numeric characters with zeros and perform the computation on the result.
Test Plan
- Test P operators with raw alpha fields.
- Test P operators with National fields.
- Test P operators with Unicode fields.
- Test M operators with raw alpha fields.
- Test M operators with National fields.
- Test M operators with Unicode fields.
Bugs
- COMPUTE does not work with National / Unicode fields. A value of 'P100RT' added to --- X results in a total of 1 instead of 100.
(KAD - should be fixed)
- TOTAL does not work correctly with Unicode fields, hash totals come out zero. See job TOTAL UNICODE in TST.
(KAD - should be fixed)
--
PeteBrower - 2011-03-21
Topic revision: r5 - 2011-06-22
- KorryD