Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.


on a database we have the problem that dbunload stops with an SQL Error during unload just before unloading the table. Another database works fine with the same parameters.

Command Line:

"%sqlany12%\bin64\dbunload" -c "dbf=database.db;uid=dba;pwd=sql" -ac "dbf=database_test.db;uid=dba;pwd=sql" -v -xx temp

Any idea? Arthur

SQL Anywhere Unload Utility Version
Connecting and initializing
Unloading user and group definitions
Unloading table definitions
Unloading materialized view definitions
Unloading index definitions
Unloading functions
Unloading view definitions
Unloading procedures
Unloading triggers
Unloading SQL Remote definitions
Unloading MobiLink definitions
***** SQL error: External environment could not be started, 'external executable' could not be found

asked 08 Apr '14, 07:21

Arthur%20Hefti's gravatar image

Arthur Hefti
accept rate: 0%

edited 08 Apr '14, 09:12

Graeme%20Perrow's gravatar image

Graeme Perrow

Does an "external" reload (i.e. one using a reload.sql file instead of a -ac) reveal more about what exact database object may cause the error?

(08 Apr '14, 07:46) Volker Barth

Thanks for the hint. The problem was "INSTALL JAVA FROM @byte_code"

(08 Apr '14, 14:17) Arthur Hefti
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 08 Apr '14, 07:21

question was seen: 1,728 times

last updated: 08 Apr '14, 14:17