Informix Error -1335
-1335 A report is accepting output or being finished before it has been
started.The program executed an OUTPUT TO REPORT or FINISH REPORT statement before it executed a START REPORT. Review the program logic that leads up to this statement to find the cause of the error.