ORA-35336
(SNSYN195) The format of the FILEOPEN function is:
FILEOPEN(filename-expression {READ | WRITE | APPEND} [BINARY] [NLS_CHARSET name])
FILEOPEN(filename-expression {READ | WRITE | APPEND} [BINARY] [NLS_CHARSET name])
Cause
The syntax of the FILEOPEN function was invalid.
Action
Check the error message text or refer to Oracle Database documentation for the correct syntax.