DCL-1180-00-E WHERE keyword found expected REC or REF or boolean operator

You can only specify WHERE once per record qualification call.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.