<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: UTL_fILE in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595600#M854528</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;check the enclosed note from Oracle Metalink. Here you'll find how to set up a function to read and write from/to files:&lt;BR /&gt;&lt;BR /&gt;To read from files, check the following section of the note:&lt;BR /&gt;  -- Open the same file to read from&lt;BR /&gt;           file_handle :=&lt;BR /&gt;              UTL_FILE.FOPEN('/tmp','myfile.txt','R');&lt;BR /&gt;&lt;BR /&gt;           -- Read a line from the file.&lt;BR /&gt;           UTL_FILE.GET_LINE (file_handle, retrieved_buffer);&lt;BR /&gt;&lt;BR /&gt;           -- Print fetched line out to the SQL*PLUS prompt.&lt;BR /&gt;           DBMS_OUTPUT.PUT_LINE(retrieved_buffer);&lt;BR /&gt;&lt;BR /&gt;           -- CLose the file.&lt;BR /&gt;           UTL_FILE.FCLOSE(file_handle);&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
    <pubDate>Wed, 17 Oct 2001 05:56:07 GMT</pubDate>
    <dc:creator>Andreas D. Skjervold</dc:creator>
    <dc:date>2001-10-17T05:56:07Z</dc:date>
    <item>
      <title>UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595597#M854525</link>
      <description>Hai, &lt;BR /&gt;&lt;BR /&gt; I have a text file which contains rows upto 1M. &lt;BR /&gt; Instead of using SQLLOADER I want to use UTL_FILE concept to insert those records into the&lt;BR /&gt; different oracle tables. &lt;BR /&gt;&lt;BR /&gt; Can any one have an idea ,If have please provide an example.. &lt;BR /&gt;&lt;BR /&gt; Thanks for the Advance in Help.. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rajkumar</description>
      <pubDate>Tue, 16 Oct 2001 11:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595597#M854525</guid>
      <dc:creator>Rajkumar_3</dc:creator>
      <dc:date>2001-10-16T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595598#M854526</link>
      <description>Take a look at this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.elementkjournals.com/dbm/0005/dbm0053.htm" target="_blank"&gt;http://www.elementkjournals.com/dbm/0005/dbm0053.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2001 14:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595598#M854526</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-16T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595599#M854527</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have never done any file reading using UTL_FILE, although I have used to write out to files.  As Oracle features go, it is pretty poor: it has poor error handling, and is pretty slow - especially compared to SQL-LOADER.&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 17 Oct 2001 05:53:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595599#M854527</guid>
      <dc:creator>Steve Slade</dc:creator>
      <dc:date>2001-10-17T05:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595600#M854528</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;check the enclosed note from Oracle Metalink. Here you'll find how to set up a function to read and write from/to files:&lt;BR /&gt;&lt;BR /&gt;To read from files, check the following section of the note:&lt;BR /&gt;  -- Open the same file to read from&lt;BR /&gt;           file_handle :=&lt;BR /&gt;              UTL_FILE.FOPEN('/tmp','myfile.txt','R');&lt;BR /&gt;&lt;BR /&gt;           -- Read a line from the file.&lt;BR /&gt;           UTL_FILE.GET_LINE (file_handle, retrieved_buffer);&lt;BR /&gt;&lt;BR /&gt;           -- Print fetched line out to the SQL*PLUS prompt.&lt;BR /&gt;           DBMS_OUTPUT.PUT_LINE(retrieved_buffer);&lt;BR /&gt;&lt;BR /&gt;           -- CLose the file.&lt;BR /&gt;           UTL_FILE.FCLOSE(file_handle);&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Wed, 17 Oct 2001 05:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595600#M854528</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2001-10-17T05:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595601#M854529</link>
      <description>SQL*Loader, specially using direct path, loads fast but within sqlloader, you cannot add logic such as "if the row exists then update else insert". &lt;BR /&gt;If this is what you need to do, then you will use the UTL_FILE package.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Wed, 17 Oct 2001 07:15:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595601#M854529</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2001-10-17T07:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595602#M854530</link>
      <description>Hi there.&lt;BR /&gt;Go for the sqlloader.&lt;BR /&gt;Faster, easier to handle.&lt;BR /&gt;If you read the manual, check for ctl files&lt;BR /&gt;( param files for sqlloader ).&lt;BR /&gt;There you can set conditions for the load.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 07:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595602#M854530</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-10-17T07:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: UTL_fILE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595603#M854531</link>
      <description>Hai All,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reples..&lt;BR /&gt;&lt;BR /&gt;I will try using these options which i have recieved from you all and i will let you know the result..&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Rajkumar</description>
      <pubDate>Wed, 17 Oct 2001 09:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utl-file/m-p/2595603#M854531</guid>
      <dc:creator>Rajkumar_3</dc:creator>
      <dc:date>2001-10-17T09:14:36Z</dc:date>
    </item>
  </channel>
</rss>

