CREATE FUNCTION LOToFile(lob LLD_Lob, pathname LVARCHAR, file_dest CHAR(6) RETURNS LVARCHAR;
This function is an overloaded version of the LOToFile built-in server function. This function is identical to the built-in version of the function, except the first parameter is an lld_lob type rather than a BLOB or CLOB type.
See the description of the LOToFile function in the IBM Informix: Guide to SQL Syntax for complete information about this function.
This function returns the value of the new filename.
LOToFile in the IBM Informix: Guide to SQL Syntax