<?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 error code 8 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236333#M1525622</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;GO THROUGH THE BELOW LINK&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="7482292"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 15:40:24 GMT</pubDate>
    <dc:creator>anesh_kumar</dc:creator>
    <dc:date>2010-09-07T15:40:24Z</dc:date>
    <item>
      <title>Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236326#M1525615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting sy-subrc = 8 when i try to open a dataset.&lt;/P&gt;&lt;P&gt;The problem is i have two files to read.&lt;/P&gt;&lt;P&gt;For the one of them it works fine but not for the other and i get that error code.&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OPEN DATASET Z_FIC FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236326#M1525615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T15:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236327#M1525616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OPEN DATASET sets SY-SUBRC to 0 if the file could be opened, otherwise to 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search forum before asking basic Questions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236327#M1525616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236328#M1525617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, but i want to know why the program is reading my first file and not the second.&lt;/P&gt;&lt;P&gt;do you have a clue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:12:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236328#M1525617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T15:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236329#M1525618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We can't tell you that, especially since you haven't posted much code.  Use the command to retrieve the message from the operating system (see the help), check the file access, check your file name/existence of the file, etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236329#M1525618</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-09-07T15:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236330#M1525619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;but i want to know why the program is reading my first file and not the second&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without your code&amp;amp;logic written its impossible to give a clue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236330#M1525619</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-07T15:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236331#M1525620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORM OUVERTURE_FICHIER_LECTURE USING Z_FIC LIKE V_FICHIER&lt;/P&gt;&lt;P&gt;                    CHANGING R_STATUS.&lt;/P&gt;&lt;P&gt;R_STATUS = '0'.&lt;/P&gt;&lt;P&gt;V_FIC_ORIG = Z_FIC.&lt;/P&gt;&lt;P&gt;  OPEN DATASET Z_FIC FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODIF_EL170399 &lt;SPAN __jive_emoticon_name="plus"&gt;&lt;/SPAN&gt; début : Mode exploitation , recherche du fic orig.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ DATASET Z_FIC INTO V_FIC_ORIG.  " Nom original du fichier&lt;/P&gt;&lt;P&gt;    IF NOT V_FIC_ORIG CS 'v_fic_orig='.&lt;/P&gt;&lt;P&gt;        V_FIC_ORIG = Z_FIC .&lt;/P&gt;&lt;P&gt;        CLOSE DATASET Z_FIC .&lt;/P&gt;&lt;P&gt;        OPEN DATASET Z_FIC FOR INPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MODIF_EL170399 &lt;SPAN __jive_emoticon_name="plus"&gt;&lt;/SPAN&gt; Fin&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF SY-BATCH EQ 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Ouverture du fichier en lecture : &amp;amp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      MESSAGE I010(ZZ) WITH V_FIC_ORIG.  " z_fic.  MODIF_EL230399&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    R_STATUS = SY-SUBRC.           " MODIF_EL220399 &lt;SPAN __jive_emoticon_name="plus"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Erreur d'ouverture du fichier : &amp;amp;  -  Sy-subrc = &amp;amp;&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  message e004(zz) with z_fic sy-subrc.   " MODIF_EL220399 &lt;SPAN __jive_emoticon_name="minus"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;ENDFORM.                               " OUVERTURE_FICHIER_LECTURE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236331#M1525620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T15:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236332#M1525621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its hard to tell you a solution directly, it seems that Z_FIC is declared globally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A proper debugging will solve the problem, do it step by step and find where the problem is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236332#M1525621</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-07T15:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236333#M1525622</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;GO THROUGH THE BELOW LINK&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="7482292"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236333#M1525622</guid>
      <dc:creator>anesh_kumar</dc:creator>
      <dc:date>2010-09-07T15:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236334#M1525623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be that the operating system cannot close and then open as quickly as you can do it in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than doing it this way, why not see if v_fic contains the string 'v_fic_orig=' and based on that, determine how to open the dataset and just do it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236334#M1525623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-07T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Open dataset error code 8</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236335#M1525624</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;I'm also facing same kind of issue.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i checked all the suggested ways.. but still getting the value of SY-SUBRC is 8..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operating system is Sun OS.. its working fine in dev and prd .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issue is only with quality.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know your ideas to fix this.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 05:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-error-code-8/m-p/7236335#M1525624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-01T05:27:39Z</dc:date>
    </item>
  </channel>
</rss>

