Update SYSXDB.SYSQUERY to include the required fields. Micro Focus provides a script to do this. See "SQLWizard Upgrade Procedures" in your Setup guide for details.