Oracle Error LFI-00148: string can be called only on files opened in byte mode

Oracle Error Message

LFI-00148: string can be called only on files opened in byte mode

Reason for the Error

A routine that should be used only for files in byte mode was called for a file that was opened in record mode

Solution

In order to use this function, the file should be opened in byte mode.