I am not keen on using the batch command ... its the only one I know
I tried connecting to the DB through command centre/line processor / window
and got the same error message viz.
SQL0104N An unexpected token "db2" was found following "BEGIN-OF-STATEMENT".
Expected tokens may include: "SELECT". SQLSTATE=42601
except in command window where I could not execute the connect command.
Any help will be appreciated