Skip to Main Content

Breadcrumb

Dev Live Dev Intro

This month we are celebrating Developers at AskTOM. We welcome Developers of all levels of experience to join us at our FREE Developer Live events coming in August. Just click on the left to register today! If you are brand new to Database Technology, then we also have got you covered. Just click on the right for your comprehensive FREE training program to kick start your Oracle Database Development journey!

Question and Answer

Connor McDonald

Thanks for the question, Md Masudur.

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

Answered by: Connor McDonald - Last updated: January 13, 2020 - 3:18 am UTC

Category: Database Administration - 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 we 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 Review

More to Explore

PL/SQL

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