I'm using DashDB (Bluemix service) and I need to export the tables data in my Java code. For that purpose I wrote the following ...
String sql = "CALL SYSPROC.ADMIN_CMD(?)";
callStmt1 = conn.prepareCall(sql);
query = "export to exportData.IXF of IXF select * from nombres";
callStmt1.setString(1, query);
callStmt1.execute();
rs1 = callStmt1.getResultSet();
But it's not working. The file exportData.ixf is not generated, but I'm not getting any error code. I used to execute this code on DB2. Do you know if it's possible to do what I'm doing with DashDB? If the answer is yes. Do you have any suggestion? Thank you!!!