Skip to Main Content

Breadcrumb

more

Connor and Chris don't just spend all day on AskTOM. You can also catch regular content via Connor's blog and Chris's blog. Or if video is more your thing, check out Connor's latest video and Chris's latest video from their Youtube channels. And of course, keep up to date with AskTOM via the official twitter account.

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 100+ times

Whilst you are here, check out some content from the AskTom team: On Oracle Database 11g

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/

More to Explore

PL/SQL

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