** max_linesize - maximum number of characters per line,
including the
** newline character, for this file.
** Valid values are 1 through 32767 and NULL. A
NULL
** value for max_linesize indicates that UTL_FILE
should
** calculate an operating system specific value at
runtime.
** RETURN
** file_type handle to open file
** EXCEPTIONS
** invalid_path - file location or name was invalid
** invalid_mode - the open_mode string was invalid
** invalid_operation - file could not be opened as requested
** invalid_maxlinesize - specified max_linesize is too large or
too small
** access_denied - access to the directory object is denied
*/
FUNCTION fopen(location IN VARCHAR2 ,
filename IN VARCHAR2 ,
open_mode IN VARCHAR2 ,
max_linesize IN BINARY_INTEGER DEFAULT NULL )
RETURN file_type;
PRAGMA RESTRICT_REFERENCES (fopen, WNDS , RNDS , TRUST );
/*
** FOPEN_NCHAR - open file
**
** Note: since NCHAR contains mutibyte character, it is highly
recommended
** that the max_linesize is less than 6400.
*/