<?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 generate flat files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085004#M727211</link>
    <description>I would like to know how to generate flat files (pipe delimited)using plsql.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gyan</description>
    <pubDate>Wed, 19 Dec 2007 13:03:12 GMT</pubDate>
    <dc:creator>Gyankr</dc:creator>
    <dc:date>2007-12-19T13:03:12Z</dc:date>
    <item>
      <title>generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085004#M727211</link>
      <description>I would like to know how to generate flat files (pipe delimited)using plsql.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gyan</description>
      <pubDate>Wed, 19 Dec 2007 13:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085004#M727211</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-19T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085005#M727212</link>
      <description>Hi Gyan:&lt;BR /&gt;&lt;BR /&gt;This is remarkably like your previous query:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1184948" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1184948&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Dec 2007 13:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085005#M727212</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-19T13:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085006#M727213</link>
      <description>&lt;BR /&gt;Hi James,&lt;BR /&gt;&lt;BR /&gt;As requirements change.... the forum changes  :)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gyan</description>
      <pubDate>Wed, 19 Dec 2007 13:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085006#M727213</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-19T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085007#M727214</link>
      <description>hi gyan ;&lt;BR /&gt;&lt;BR /&gt;write an sql file,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;set pagesize 0 &lt;BR /&gt;set linesize 10000&lt;BR /&gt;set feedback off&lt;BR /&gt;spool file.lst&lt;BR /&gt;select col1 || '|' || col2 || '|' || col3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and execute it &lt;BR /&gt;sqlplus user/pass@TNS @sqlfile..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hasan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 13:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085007#M727214</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-19T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085008#M727215</link>
      <description>Hi Hasan,&lt;BR /&gt;&lt;BR /&gt;At the same time can i pass a shell variable to that sql file ,perhaps the below thread can be linked to this one. &lt;A href="http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1185452" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1185452&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gyan&lt;BR /&gt;bottomline: To be done on the db side(using plsql)</description>
      <pubDate>Wed, 19 Dec 2007 15:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085008#M727215</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-19T15:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085009#M727216</link>
      <description>hi Gyan,&lt;BR /&gt;&lt;BR /&gt;Sorry i don't have a database to play with it right now but basically, you just have to use the following:&lt;BR /&gt;&lt;BR /&gt;Set serveroutput on&lt;BR /&gt;Spool flatfile.txt&lt;BR /&gt;declare&lt;BR /&gt;   &lt;CURSOR definition=""&gt;&lt;BR /&gt;begin&lt;BR /&gt;     &lt;LOOP into="" the="" cursor=""&gt;&lt;BR /&gt;      dbms_output.put_line(...)&lt;BR /&gt;     &lt;END loop=""&gt;&lt;BR /&gt;end;&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/END&gt;&lt;/LOOP&gt;&lt;/CURSOR&gt;</description>
      <pubDate>Wed, 19 Dec 2007 17:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085009#M727216</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-12-19T17:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085010#M727217</link>
      <description>OK,&lt;BR /&gt;&lt;BR /&gt;first approach should always utilize a favorite search engine of your choice :-)&lt;BR /&gt;&lt;BR /&gt;A google with &lt;BR /&gt;"oracle flat file stored procedure"&lt;BR /&gt;on germanys google gives this hit on page one item 4 or 5:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.oracle.com/forums/thread.jspa?threadID=233148" target="_blank"&gt;http://forums.oracle.com/forums/thread.jspa?threadID=233148&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'll guess the solution there is not working first hand, but you should be able to work through oracle documentation and get a solution with this as a sample.&lt;BR /&gt;&lt;BR /&gt;The solution there uses UTL_FILE.-functions&lt;BR /&gt;which have a good intro here&lt;BR /&gt;&lt;A href="http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Utl_File/start.htm" target="_blank"&gt;http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Utl_File/start.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Volker&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 18:38:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085010#M727217</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2007-12-19T18:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085011#M727218</link>
      <description>Thanks everybody and yes Volker i agree a combination of search engine and itrc forums can solve most of the problems :)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gyan</description>
      <pubDate>Sat, 29 Dec 2007 17:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085011#M727218</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-29T17:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: generate flat files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085012#M727219</link>
      <description>Problem resolved</description>
      <pubDate>Mon, 31 Dec 2007 11:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/generate-flat-files/m-p/5085012#M727219</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-31T11:51:37Z</dc:date>
    </item>
  </channel>
</rss>

