Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: URGENT: UTL_FILE Problem

Re: URGENT: UTL_FILE Problem

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Wed, 01 Dec 1999 12:34:09 -0500
Message-ID: <0tma4sg2ahj6u7vhbk5rjjovhrf8suivq9@4ax.com>


A copy of this was sent to rock_cogar_at_my-deja.com (if that email address didn't require changing) On Wed, 01 Dec 1999 16:40:19 GMT, you wrote:

>Hi,
>
>I have a problem with UTL_FILE. I am running NT 4.0 sp5, with Oracle
>8.1.5. I am working on the server itself, logged on as SYS (!).
>
>The Problem: No matter what I try the function UTL_FILE.FOPEN() fails
>with "Invalid path".
>
>Here is the script:
>-- ------------------------------------------------------------------
>DECLARE
>
>input_file utl_file.file_type;
>input_rec varchar2(200);
>
>begin
> input_file := utl_file.fopen ( 'g:/temp', 'Cars_y.fff', 'r');

                                       ^  that would be ok in Unix


also, verify your utl_file_dir init.ora parameter -- make sure g:\temp is in it or it is *

also, bear in mind that the database is started under one account -- if you are logged in and "mounted" g: your self -- then the database won't see your login's "g:" drive. beware of networked disks with NT -- not like a unix mount point. [snip]
>
>end;
>
>
>Thanks,
>Rock Cogar.
>Radian International LLC.
>Oak Ridge, TN. USA.
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Dec 01 1999 - 11:34:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US