<?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 Splitting the  Dataset in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728094#M317233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the requirement as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a File in Application Server, which is very BIG in size. My requirement is write a program(The input to the program is File Path) which reads the Dataset and Split that Dataset  into Several SMALL Datasets.&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;      Suppose A Dataset Contains 1000 records, then after the Execution of the program Single dataset will be splitted into 10 Datasets(Assume), and each Dataset contains 100 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for u r replys..&lt;/P&gt;&lt;P&gt;Thanks in Advancve&lt;/P&gt;&lt;P&gt;Krish...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2006 05:16:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-12T05:16:50Z</dc:date>
    <item>
      <title>Splitting the  Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728094#M317233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the requirement as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a File in Application Server, which is very BIG in size. My requirement is write a program(The input to the program is File Path) which reads the Dataset and Split that Dataset  into Several SMALL Datasets.&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;      Suppose A Dataset Contains 1000 records, then after the Execution of the program Single dataset will be splitted into 10 Datasets(Assume), and each Dataset contains 100 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for u r replys..&lt;/P&gt;&lt;P&gt;Thanks in Advancve&lt;/P&gt;&lt;P&gt;Krish...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 05:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728094#M317233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T05:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting the  Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728095#M317234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish , &lt;/P&gt;&lt;P&gt;  A solution to this would be read the entire data set first and loop at the internal table containing the data and when ever your limit is reached , simply write it to the file on application server.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 05:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728095#M317234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T05:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting the  Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728096#M317235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krish,&lt;/P&gt;&lt;P&gt;   try using this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create different files into which you want to split the input file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say there are  two oputput files. file1 and file2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use open dataset command to create these files in output mode.&lt;/P&gt;&lt;P&gt;then open input file (say in_file) in input mode.&lt;/P&gt;&lt;P&gt;then use a loop to read the data from input file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can split the data into different parts accounding to line count (sy-tabix)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do&lt;/P&gt;&lt;P&gt;READ DATASET dsn INTO line.&lt;/P&gt;&lt;P&gt;if sy-tabix &amp;lt; 60,0000.&lt;/P&gt;&lt;P&gt;transfer line TO file1.&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;transfer line TO file2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally close all files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used limit as 60000 you can use 100 as your criterion. and even you can increase the number of files according to your requirement&lt;/P&gt;&lt;P&gt;Hope this helps.. award usefull answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 05:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728096#M317235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T05:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting the  Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728097#M317236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While storing big file you can split the data into smaaller dataset. What i am trying to say 'While storing the data you split no of small datasets' and while picking you can use Pattern (Contain Pattern) to pick the all files one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 05:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728097#M317236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T05:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting the  Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728098#M317237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;The Big file is already Existed in Application server. My requirement is Split that Large dataset into Smaller datasets .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hop iam more clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krish...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 05:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/splitting-the-dataset/m-p/1728098#M317237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T05:43:23Z</dc:date>
    </item>
  </channel>
</rss>

