https://userapps.support.sap.com/sap/support/knowledge/en/2304955
2304955 - SAP IQ - how to use the BFILE() function to extract large object data to an external file...
Customers wanting to extract LONG BINARY and LONG VARCHAR cells (greater than 32676 characters) to individual operating system files, either within a procedure...