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

Home -> Community -> Mailing Lists -> Oracle-L -> UTL_FILE and ksh

UTL_FILE and ksh

From: Post, Ethan <epost_at_kcc.com>
Date: Thu, 30 Aug 2001 11:22:39 -0700
Message-ID: <F001.0037DBEE.20010830110621@fatcity.com>

I have a directory that another process will be placing files in and I will be processing them using the UTL_FILE package. I wish there was a way to list the contents of a directory from PLSQL but I don't think that there is. My solution at this point is cron out a ksh script that will check the directory and call the procedure to handle the file. I need to check if the file is still being written to. I am checking to see if the file is writable but even when the file was opened by another session using VI it came back as writable so that does not appear to work. What are your solutions to this problem. Some of my other thoughts are to have the processes writing the file to only make the file readable to other processes once it is complete?  

Thanks,
Ethan
http://www.geocities.com/epost1



This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law. If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy. Thank you.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Post, Ethan
  INET: epost_at_kcc.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 Thu Aug 30 2001 - 13:22:39 CDT

Original text of this message

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