-33047 Record record-name is not allowed in this clause.
In this statement, you use the specified record where only a simple
variable is allowed. Check the spelling of names and rewrite the
statement using a simple variable. See the embedded-language manual and
the IBM Informix Guide to SQL: Syntax.