WHEN variable xxx not found in record

Restriction: This topic applies only when a Database Connectors license has been installed via the Micro Focus License Management System.
This happens if you have a WHEN XFD directive that mentions a variable that doesn't exist in the record.