Is the cunningly-named SQL-AVAR-LIST4 part of an OCCURS? No. It's not. So when the compiler sees an opening bracket, it knows it can only be a reference-modification, and with that message the compiler is expressing its disappointment that no valid reference modification was found.