<?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: OPEN DATASET in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652118#M289643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your question I understand that the file is being written on the application server while you are trying to open. In case that file is already open, then when you try to open, it will set SY-SUBRC to a nonzero value, which is an error. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to mark helpful answers!&lt;/P&gt;&lt;P&gt;Gaurav Parmar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2006 06:27:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-20T06:27:40Z</dc:date>
    <item>
      <title>OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652113#M289638</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;Can anyone tell me that will open dataset give an error, if the file which i am opening is not downloaded fully in my application server.&lt;/P&gt;&lt;P&gt;The file which i will be accessing using open dataset, read dataset and close dataset will be loaded in my application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:23:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652113#M289638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652114#M289639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey it depends in what mode you are trying to open the file.&lt;/P&gt;&lt;P&gt;If you are not opening in read mode, may be it will throw an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;Sandeep Josyula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652114#M289639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652115#M289640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use an "end-record" at the end of your processing.&lt;/P&gt;&lt;P&gt;(transfer 'EOF' to file. )&lt;/P&gt;&lt;P&gt;so it can be checked,whether your file is complete,&lt;/P&gt;&lt;P&gt;when opening your file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anderas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652115#M289640</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-10-20T06:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652116#M289641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The open dataset will not give error if the file is not downloaded completely. It will give error if the file you are trying to read does not exists or the path where you are trying to write is incorrect and also if you donot have file permissions on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope ths helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652116#M289641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652117#M289642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open data set will returns SY-SUBRC value. If it is other than ZERO, some error has occured.Pls try to findout the meaning for different SY-SUBRC values so that u can capture the type of error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652117#M289642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652118#M289643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your question I understand that the file is being written on the application server while you are trying to open. In case that file is already open, then when you try to open, it will set SY-SUBRC to a nonzero value, which is an error. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to mark helpful answers!&lt;/P&gt;&lt;P&gt;Gaurav Parmar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652118#M289643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652119#M289644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further, read below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET &amp;lt;dsn&amp;gt; FOR OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file does not already exist, it is created automatically. If it does already exist, but is closed, its contents are overwritten. If the file exists and is already open (for read or write access, or for appending), the position is reset to the beginning of the file. If the system can open the file &amp;lt;dsn&amp;gt; successfully, SY-SUBRC is set to 0. If not, it is set to 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET &amp;lt;dsn&amp;gt; FOR INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file must already exist, otherwise, the system sets SY-SUBRC to 8, and ignores the statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file exists and is already open (for read or write access, or for appending), the position is reset to the beginning of the file. However, it is good programming style to close files that are already open before you reopen them for a different operation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps you. Let me know if you have any further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to mark helpful answers!&lt;/P&gt;&lt;P&gt;Gaurav Parmar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652119#M289644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652120#M289645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your explanation what i can understand is that i dont have to specifically check for the downloading of the file to be complete on the application server.&lt;/P&gt;&lt;P&gt;As if it is being downloaded and while downloading i try to open it with open dataset the sy-subrc will be non-zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Altaf Shaikh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 12:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1652120#M289645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T12:33:11Z</dc:date>
    </item>
  </channel>
</rss>

