-8015: Table must be a base table

Explanation:

The specification of a base table is expected. This specification is missing or the specified table is not a base table.

User Action:

Use a QUERY statement issued on the DOMAIN.TABLES system table to find out whether the specified table is a view table or result table. If it is a view table, use a QUERY statement issued on the DOMAIN.VIEWDEFS system table to find out the pertinent base table. You can then issue the required SQL statement for the base table if you have the appropriate privileges.