I am a first time DB2 user, have trouble in executing "list tables;" in IBM Data Studio.
I can run "select" commands (end with semicolon) and "update commands" but "list tables;" (both with and without semicolon) gives following error:
An unexpected token "END-OF-STATEMENT" was found following "LIST TABLES".
Expected tokens may include: "JOIN <joined_table>".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.14.113
Update: Alternatively, the following command works:
select tabname from syscat.tables where tabschema = 'whatever-schema-name';
BTW, is it possible to change the default query result window from "Status" to "Result1". It is in "Status" window by default and every time I have to click "Result1" tab to see the query result.