You have specified the CODE clause in the definition of a report. If you are defining more than one report for the specified file, you must specify the CODE clause either for all reports or for none of them for that file.
Resolution:
Add CODE clauses to the other reports you have defined, or ensure that no report definition contains a CODE clause for that file.