The lobLib.updateBlobToFile() system function copies the data referenced by a BLOB variable into a specified file. If the file exists, the function first erases the content of the file; otherwise, the function creates the file.
lobLib.updateBlobToFile( blobVariable BLOB inOut, fileName STRING in)