HOW TO RUN IMPORT COMMAND OF DB2 IN Java.
Import in DB2 will import the data from other sources
if you want to run the same command from java in that case you just need to use
something like this
String db2Statement = "actual command that needs to be executed on the sql prompt of DB2";
Statement stmt = conn.createStatement();
try {
stmt.executeUpdate( db2ImportCommand );
} finally {
//It's important to close the statement when you are done with it
stmt.close();
}