Unanswered: redirect output of select to file from ODBC
I'm using DB2 10.5 on Linux.
I need to execute an ODBC statement in which a select is redirected to a file from a C++ module. So I don't need to fetch the records but I'll process the file later.
I didn't find examples doing this, is it possible?
Your Question is unclear. An ODBC application can use local-operating-sytem feature for redirection if it allows that (or if it is coded appropriately) . There's insufficient detail in your question to give anything except a general answer. We cannot guess your requirements.