I need an example for writing a blob into our Oracle-Database from a Cobol JVM Application .
My little example does not compile:
program-id. Incident as "Incident".
data division.
working-storage section.
EXEC SQL INCLUDE SQLCA END-EXEC.
EXEC SQL BEGIN DECLARE SECTION END-EXEC
01 myBlob type java.sql.Blob.
EXEC SQL END DECLARE SECTION END-EXEC
01 myString pic x(32000).
procedure division.
move myString to myBlob
goback.
end program Incident.
[cobol] 34 move myString to myBlob
[cobol] COBCH1624S Cannot implicitly convert string to type java.sql.Blob. : D:\\java\\rfmOracleTest\\Incident\\src\\Incident.cbl(10,33,28)




