GVQUERYFAIL, Global variable $QUERY function failed. Failure code: xxxx.
Run Time Error: This indicates that a $QUERY function failed. xxxx contains the failure codes for the four attempts. It is very likely that the database may have integrity errors or that the process-private data structures are corrupted.
Action: Report this database error to the group responsible for database integrity at your operation.