DBCMD/1101 Syntax error Explanation: This error occurs when the FIELDS clause of the TOTAL command includes an alias that does not point to the current work area: TOTAL ON x TO y FIELDS badalias->f1 Action: With TOTAL, make sure to use an alias that refers to the current work area (if you use an alias).