A host variable is defined as an array using an OCCURS clause.
Resolution:
The preprocessor does not allow host variables to be defined this way. Edit your program to remove the OCCURS clause and then recompile.
Important: This error can sometimes be generated incorrectly when an indicator variable array is specified with a non-array host variable. If this happens, instead of removing the OCCURS clause, recompile using the SQL(NOARRAYCHECK) directive to prevent the error from being generated.