Oracle Message OCI-22289 - cannot perform string operation on an unopened file

ERRORcannot perform string operation on an unopened file
CAUSEThe file is not open for the required operation to be performed.
ACTIONCheck that the current operation is preceded by a successful file open operation.