EQA1494S variable name is an aggregate. It cannot be used as a locator reference. Explanation The variable that is being as a locator is not the correct data type.