Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Md Masudur.

Asked: December 18, 2019 - 11:32 pm UTC

Last updated: January 13, 2020 - 3:18 am UTC

Version: 18.0.0.0.0

Viewed 1000+ times

You Asked

Hi There,
After upgrade from 11gR2 to 18c.one of Our dev is getting this error.
I go through all documents i found it MOS, I understand that UTL_FILE is desupported from 18c.

MY question what is the steps I should take before upgrade the next database and how can I resolve
This issue.

This looks like it's actually failing on the step before where it tries to save the file to the DB filesystem from the FTP server.

Caused by: com.iits.pulsar.PulsarSystemException: Error while writing to the database file system: ORA-00972: identifier is too long
ORA-06512: at "SYS.UTL_FILE", line 41
ORA-06512: at "SYS.UTL_FILE", line 478
ORA-06512: at "CORE.SPKG_INTRFC", line 795
ORA-06512: at "CORE.SPKG_INTRFC", line 962
ORA-06512: at line 1

and Connor said...

UTL_FILE is NOT desupported.

The directory name must be an *object* not a directory - which is why you are possibly getting this error.

https://connor-mcdonald.com/2018/06/27/utl_file_dir-and-18c/

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library