UTL_FILE problem with session [message #473748] |
Tue, 31 August 2010 11:09  |
pradeepsakti
Messages: 37 Registered: May 2009
|
Member |

|
|
Dears,
can anyone please help me out by finding this reason.
I am doing some file operations using CLOB and I mean exactly "there are some 100+ files on a unix directory and I am reading each one them file by file and doing CLOB operations with the contents of the files, say one clob object for one file".
But exactly after 46 or 47 file reads I get the error
ORA-29283: invalid file operation
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 449
If I logoff and logon then it does 46 files and again error.
Please help me out to find this.
Thanks a lot in advance,
Pradeep.
|
|
|
|
|
Re: UTL_FILE problem with session [message #473755 is a reply to message #473753] |
Tue, 31 August 2010 11:27   |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>And there are no problem with directory path and permsions, filenames.
>As all the files under same directory with same permissions more over the file which was failed in this session will be read in the next.
Either you are mistaken or Oracle is.
If you are confident that all is OK in your environment, then submit a bug report to Oracle.
How can we reproduce what you report?
It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/
[Updated on: Tue, 31 August 2010 11:28] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: UTL_FILE problem with session [message #473884 is a reply to message #473836] |
Wed, 01 September 2010 07:05  |
pradeepsakti
Messages: 37 Registered: May 2009
|
Member |

|
|
Dear Jum thanks a lot for the reply, yes there is a loop in which I dint close the file.
And Dear Black Swan there is a reason for the NUMBER 48..
FOPEN Function
This function opens a file. You can specify the maximum line size and have a maximum of 50 files open simultaneously.
So the reason I got the particular error now its solved anyways.
|
|
|