<?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: Dataset reopen error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359548#M1037781</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;Look for other parts of the code. From the error&lt;/P&gt;&lt;P&gt;it seems the file is ALREADY opened somewhere before&lt;/P&gt;&lt;P&gt;this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe some if condition or not closed before.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2008 10:47:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-18T10:47:54Z</dc:date>
    <item>
      <title>Dataset reopen error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359547#M1037780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working for SAP upgrade project (4.6c to ecc6.0)&lt;/P&gt;&lt;P&gt;I had an error saying that DATASET_REOPEN.i.e.,File is already open.Can any one help me out.&lt;/P&gt;&lt;P&gt;I have just declared &lt;STRONG&gt;open dataset ....in text mode encoding&lt;/STRONG&gt; &lt;STRONG&gt;default&lt;/STRONG&gt;.I dnt do any other changes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359547#M1037780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset reopen error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359548#M1037781</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;Look for other parts of the code. From the error&lt;/P&gt;&lt;P&gt;it seems the file is ALREADY opened somewhere before&lt;/P&gt;&lt;P&gt;this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe some if condition or not closed before.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359548#M1037781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset reopen error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359549#M1037782</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;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5842088"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359549#M1037782</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-08-18T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset reopen error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359550#M1037783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If u had opened any file using OPEN DATASET file, before just close that by using CLOSE DATASET file.&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Try to add and see,&lt;/P&gt;&lt;P&gt;CLOSE DATASET file before the OPEN DATASET file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359550#M1037783</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-08-18T10:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset reopen error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359551#M1037784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; I am working for SAP upgrade project (4.6c to ecc6.0)&lt;/P&gt;&lt;P&gt;&amp;gt; I had an error saying that DATASET_REOPEN.i.e.,File is already open.Can any one help me out.&lt;/P&gt;&lt;P&gt;&amp;gt; I have just declared &lt;STRONG&gt;open dataset ....in text mode encoding&lt;/STRONG&gt; &lt;STRONG&gt;default&lt;/STRONG&gt;.I dnt do any other changes&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check Prior to that you have any OPEN DATSET on the same file. and Not closing the file using the Close Data set then you have chances of getting the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;open dataset ...in textmode etc...

open dataset..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above case you get the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;correct that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;open dataset ...in textmode etc...

close dataset &amp;lt;ds&amp;gt;.
open dataset..

close datset &amp;lt;ds&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359551#M1037784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset reopen error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359552#M1037785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have replaced the obsolete statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET P_FILE FOR INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OPEN DATASET P_FILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not have any problem.Just to recheck with you please dont keep the file already OPEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sudharshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2008 10:49:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dataset-reopen-error/m-p/4359552#M1037785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-18T10:49:05Z</dc:date>
    </item>
  </channel>
</rss>

