I can ssh into my IBMi and start qsh. If I type db2 with no parameters I get the standard help message:
db2
USAGE: CMD [-v] [-S] [-s] [-t | -T<char> | -d] [-r RDBNAME [-u USERNAME -p PASSWORD] ] <"SQLSTMT" | -i | -f FILENAME DEFAULT_LIB>
However, if I run a query like db2 -S "SELECT name FROM INFORMATON_SCHEMA.tables"
Nothing returns. It was working fine for the past couple of weeks. I can SELECT and UPDATE from php code just fine. However, I can't use the db2 commandline tool from qsh. What Should I do to troubleshoot?
0 Answers