This is my code. I keep getting an error that says the hours field cannot be used. I don't know why it is any different than my other nemeric fields. The field is defined as 12 with 2 dec positions.It is packed. Any suggestions?
11200 - OVRDBF FILE(ELE728PF3) SHARE(*YES)
11300 - OPNQRYF FILE((ELE728PF3)) KEYFLD((PRPPN) (DIV#) (ACT) (OBJ)
(PREMNO)) GRPFLD(PRPPN DIV PREMNO DIV# ACT OBJ) MAPFLD((HRSSUM
'%SUM(hours)') (DEBSUM '%SUM(prddra)') (CRDSUM '%sum(prdcra)') (TOTSUM
Field 1/HOURS not allowed in record format.
Error occurred during processing of command.
CPF9899 received by procedure ELE728CLC. (C D I R)