Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> UTL_FILE ERROR Invalid Filehandle
I have a package that reads and write several tables on other databases
through dblinks.
I changed the tablename/dblinks to public synonyms with dblinks so the package could point to different databases by changing the public synonym instead of the package.
The package compiles ok but when I execute it I get the Invalid Filehandle error. None of the code in the package was changed except the table names. None of the UTL_FILE code was changed.
I can still run the original code ok but the new copy with the synonyms just won't run.
Can anyone tell me what I am missing?
Thanks!
Ron Smith