> sorry, I should write in english:
>
> I like to read VARBINARY-field from a table , save this ín a file and
> write it then into another table.
What's a VARBINARY? VARCHAR FOR BIT DATA or a BLOB?
> I read the field with a select-statement and getString().
> The Result (like: 011b0148107f007310850069006e01671020205400550149) i
First, what you're seeing there is the hexadecimal representation of the
actual value, i.e. two of the digits together represent a single byte in
the value.
> will insert with PreparedStatement:
>
[quoted text clipped - 9 lines]
>
> What is wrong?
$ db2 "? sql0954"
SQL0954C Not enough storage is available in the application heap
to process the statement.
Explanation:
All available memory for the application has been used.
The statement cannot be processed.
User Response:
Terminate the application on receipt of this message. Increase
the database configuration parameter ( applheapsz ) to allow a
larger application heap.
sqlcode : -954
sqlstate : 57011

Signature
Knut Stolze
DB2 Information Integration Development
IBM Germany