Documentation:
The SAP DB Loader can process the SQL statements required for loading and
unloading. DDL statements, in particular, are vital for the loading of data
(Reference Manual: SAP DB 7.4, SQL Statements: Overview section).
Database queries, however, return only status messages.
---------------------------------------------------------------
Has some one idea how to get status code from Java API to the SAP DB Loader?
---------------------------------------------------------------
Demo:
...
loader = new Loader(prop);
...
command = "INSERT INTO TABLE VALUES('value')";
System.out.println("STATUS CODE: <"+loader.cmd(command)+">");
...
---------------------------------------------------------------
Result:
STATUS CODE: <>
Is it BUG?
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general