The QueryTool is a small comand line utility build on top of PRCEDpp to connect to DB2 for i instances and interactively execute SQL queries. It can run either locally on the host or connect remotely with the XDA or XDN drivers.
QueryTool.cpp
SelectBuilder.cpp
SelectBuilder.h
SimpleSqlParser.cpp
SimpleSqlParser.h
SqlToken.cpp
SqlToken.h
util.cpp
util.h