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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: problem with UTL_FILE.FILE OPEN

RE: problem with UTL_FILE.FILE OPEN

From: Kathy Duret <kathy.duret_at_isearch.com>
Date: Wed, 14 Mar 2001 17:21:19 -0800
Message-ID: <F001.002CD209.20010314163722@fatcity.com>

The parameter in the init.ora is:

utl_file_dir=*

This allows you to write to any directory, you might want to list specific directories for security and sanity purposes.

kathy

-----Original Message-----
Sent: Wednesday, March 14, 2001 8:36 AM
To: Multiple recipients of list ORACLE-L

I believe * is valid (though I can't find the page in a book right now), though it could be dangerous, utl_file writes as oracle, make sure some duhveloper doesn't overwrite/append to your datafiles.

Look at the UTL_FILE.FOPEN commands and verify the paths.

  lv_log_file := UTL_FILE.FOPEN('/dir1/dir2/dir3','logfile.dat','A');



 Brian L. Anderson
 Flunky/SA/DBA
 Darton College
 andersob_at_mail.dartnet.peachnet.edu

> -----Original Message-----
> From: Dasko, Dan [mailto:Dan.Dasko_at_cdicorp.com]
> Sent: Wednesday, March 14, 2001 10:07 AM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: problem with UTL_FILE.FILE OPEN
>
>
> I thought that a directory had to be specified by name in
> initora. I don't
> think you can specify a wildcard or a higher level directory.
> I could be
> wrong.
>
> Dan
>
> -----Original Message-----
> Sent: Wednesday, March 14, 2001 5:16 AM
> To: Multiple recipients of list ORACLE-L
>
>
> List hi!
> Oracle817 on AIX. (64 bit)
> We have defined in initora file UTL_FILE_DIR=*
> When we start function UTL_FILE.FOPEN it raises exception
> INVALID_PATH.
> Everything is set and available (permissions are 777).
> Do you have any idea what's wrong?
>
> TIA,
> Sonja
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: =?ISO-8859-2?Q?Sonja_=A9ehovi=E6?=
> INET: sonja.sehovic_at_pbz.hr
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
> _____________________________________________________________________
> This e-mail message has been scanned for the presence of all
> known computer
> viruses by the MessageLabs Virus Control Center. However, it is still
> recommended that you use local virus scanning software to
> monitor for the
> presence of viruses.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Dasko, Dan
> INET: Dan.Dasko_at_cdicorp.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Anderson, Brian
  INET: andersob_at_mail.dartnet.peachnet.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kathy Duret
  INET: kathy.duret_at_isearch.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Mar 14 2001 - 19:21:19 CST

Original text of this message

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