The iterator variable was not bound when executing the REPLACE statement.