<?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: Edit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121619#M150982</link>
    <description>if you are talking about a oracle database table:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;delete from schema.table where rownum &amp;lt; 400.000;&lt;BR /&gt;&lt;BR /&gt;This can take much to complete.&lt;BR /&gt;&lt;BR /&gt;if you are talking about an ascii file:&lt;BR /&gt;&lt;BR /&gt;split -l 100000 yourfilename splitted_filename&lt;BR /&gt;&lt;BR /&gt;will generate 5 file, named splitted_filename.xaa .xab .xac&lt;BR /&gt;&lt;BR /&gt;keep the last, should be splitted_filename.xae, rename it as your original file and you have done it.&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 18 Nov 2003 11:27:16 GMT</pubDate>
    <dc:creator>Massimo Bianchi</dc:creator>
    <dc:date>2003-11-18T11:27:16Z</dc:date>
    <item>
      <title>Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121613#M150976</link>
      <description>The data file size is 500,0000 raws, How to truncate to 400,0000 raws? I wish to delete&lt;BR /&gt;from 1 raw to 100,0000 raws, which command can do this?</description>
      <pubDate>Mon, 17 Nov 2003 20:47:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121613#M150976</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-11-17T20:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121614#M150977</link>
      <description>Have a look at man pages of "split" command&lt;BR /&gt;That will solve your purpose</description>
      <pubDate>Mon, 17 Nov 2003 20:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121614#M150977</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-11-17T20:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121615#M150978</link>
      <description>Coulu you please tell me a sample about how split usage? Thanks!</description>
      <pubDate>Mon, 17 Nov 2003 20:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121615#M150978</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2003-11-17T20:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121616#M150979</link>
      <description>I am sorry i realised later that you are talking about datafiles. Split actually does in bytes i.e in different sizes of files, i couldn't get it going with split.&lt;BR /&gt;and do raws means rows and the files are database files like oracle, the only way you could do is write a sql statement to drop the rows&lt;BR /&gt;Otherwise there is nothing you can do with datafiles than writing a c program, dearing the lines and use truncate() function&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2003 21:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121616#M150979</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-11-17T21:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121617#M150980</link>
      <description>Please explain what u need&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 01:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121617#M150980</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-11-18T01:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121618#M150981</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;tail -400000 datfile &amp;gt; newdatafile&lt;BR /&gt;is that, what you where looking for?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 11:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121618#M150981</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-11-18T11:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Edit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121619#M150982</link>
      <description>if you are talking about a oracle database table:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;delete from schema.table where rownum &amp;lt; 400.000;&lt;BR /&gt;&lt;BR /&gt;This can take much to complete.&lt;BR /&gt;&lt;BR /&gt;if you are talking about an ascii file:&lt;BR /&gt;&lt;BR /&gt;split -l 100000 yourfilename splitted_filename&lt;BR /&gt;&lt;BR /&gt;will generate 5 file, named splitted_filename.xaa .xab .xac&lt;BR /&gt;&lt;BR /&gt;keep the last, should be splitted_filename.xae, rename it as your original file and you have done it.&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 11:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/edit/m-p/3121619#M150982</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-11-18T11:27:16Z</dc:date>
    </item>
  </channel>
</rss>

