<?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: Field-Groups, Extract Dataset - Extract errors on a job (standard program) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379210#M1642700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, there's good information here....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors EXTRACT_OPEN_EXTRACTFILE_OPEN&lt;/P&gt;&lt;P&gt;Short text &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could not open the extract file for writing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened? &lt;/P&gt;&lt;P&gt;Runtime error &lt;/P&gt;&lt;P&gt;The current ABAP program "RFDOPR10" had to be terminated because one&lt;/P&gt;&lt;P&gt;of the statements could not be executed at runtime. &lt;/P&gt;&lt;P&gt;Error analysis &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could not open the extract file "/archive/PR5/arch_transfer//E00BWQEY" for&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;writing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error number: 70&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error text: Stale NFS file handle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;The stale file handle telss me that the file was opened for output so long ago that, in the meantime, SAP or the operating system has lost track of it and is not sure of the state of the file at the time you tried to write into it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the program you're using, but if this is custom work, only open the file when you are ready to immediately write to it, and check the return code for zero before attempting to write anything out to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative would be to look at the data that you're attempting to extract to see if there is something you can do to limit the runtime involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2011 19:08:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-21T19:08:20Z</dc:date>
    <item>
      <title>Field-Groups, Extract Dataset - Extract errors on a job (standard program)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379207#M1642697</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;We have a job running daily, which uses program RFDOPR10 &amp;amp; a custom variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This job fails a few times a month (1-3), with ST22 showing Extract files errors like EXTRACT_READ_ERROR &amp;amp; EXTRACT_OPEN_EXTRACTFILE_OPEN (Could not open the extract file "/archive/PR5/arch_transfer//E000005M" for writing.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is stored in field groups and then extracted with the extract statement.&lt;/P&gt;&lt;P&gt;According to [http://help.sap.com/SAPHELP_NW04S/helpdata/en/9f/db9ed135c111d1829f0000e829fbfe/content.htm] , u201CExtracts larger than 500 KB are stored in operating system files. The practical size of an extract is up to 2 GB, as long as there is enough space in the file system.u201D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be happening because the extracts for some cases are very large but there isnu2019t enough memory in the system or a limit to the memory for extracts? Why else would this happen? Like I said, the job works fine for weeks and then fails with these extract errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 14:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379207#M1642697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T14:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Field-Groups, Extract Dataset - Extract errors on a job (standard program)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379208#M1642698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does the dump indicate that the problem is?  Have you read that in detail?   The answer is quite probably there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 15:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379208#M1642698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Field-Groups, Extract Dataset - Extract errors on a job (standard program)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379209#M1642699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the dumps in detail, but there is no specific information on the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the only relevant information I get from the dumps, which is different in each case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         EXTRACT_READ_ERROR&lt;/P&gt;&lt;P&gt;Short text                                        &lt;/P&gt;&lt;P&gt;    Error when reading the temporary extract file.&lt;/P&gt;&lt;P&gt;What happened?                                                          &lt;/P&gt;&lt;P&gt;    Runtime error                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "RFDOPR10" had to be terminated because one&lt;/P&gt;&lt;P&gt;    of the statements could not be executed at runtime.                 &lt;/P&gt;&lt;P&gt;Error analysis                                      &lt;/P&gt;&lt;P&gt;    An error occurred when reading the extract file.                                &lt;/P&gt;&lt;P&gt;    Error number: 0                                 &lt;/P&gt;&lt;P&gt;    Error text: "Error 0"                           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         EXTRACT_OPEN_EXTRACTFILE_OPEN&lt;/P&gt;&lt;P&gt;Short text                                      &lt;/P&gt;&lt;P&gt;    Could not open the extract file for writing.&lt;/P&gt;&lt;P&gt;What happened?                                                          &lt;/P&gt;&lt;P&gt;    Runtime error                                                                                &lt;/P&gt;&lt;P&gt;The current ABAP program "RFDOPR10" had to be terminated because one&lt;/P&gt;&lt;P&gt;    of the statements could not be executed at runtime.                 &lt;/P&gt;&lt;P&gt;Error analysis                                                                &lt;/P&gt;&lt;P&gt;    Could not open the extract file "/archive/PR5/arch_transfer//E00BWQEY" for&lt;/P&gt;&lt;P&gt;     writing.                                                                                &lt;/P&gt;&lt;P&gt;Error number: 70                                                          &lt;/P&gt;&lt;P&gt;    Error text: "Stale NFS file handle"                                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, there isn't much info pointing to a specific problem. As such, I have to investigate different areas.&lt;/P&gt;&lt;P&gt;The main issue is with storing the temp extract file and reading it. However, I can't replicate this issue and it only happens 1 or 2 times a month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 18:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379209#M1642699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T18:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Field-Groups, Extract Dataset - Extract errors on a job (standard program)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379210#M1642700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, there's good information here....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors EXTRACT_OPEN_EXTRACTFILE_OPEN&lt;/P&gt;&lt;P&gt;Short text &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could not open the extract file for writing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened? &lt;/P&gt;&lt;P&gt;Runtime error &lt;/P&gt;&lt;P&gt;The current ABAP program "RFDOPR10" had to be terminated because one&lt;/P&gt;&lt;P&gt;of the statements could not be executed at runtime. &lt;/P&gt;&lt;P&gt;Error analysis &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Could not open the extract file "/archive/PR5/arch_transfer//E00BWQEY" for&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;writing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error number: 70&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error text: Stale NFS file handle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;The stale file handle telss me that the file was opened for output so long ago that, in the meantime, SAP or the operating system has lost track of it and is not sure of the state of the file at the time you tried to write into it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the program you're using, but if this is custom work, only open the file when you are ready to immediately write to it, and check the return code for zero before attempting to write anything out to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative would be to look at the data that you're attempting to extract to see if there is something you can do to limit the runtime involved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 19:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379210#M1642700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T19:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field-Groups, Extract Dataset - Extract errors on a job (standard program)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379211#M1642701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The program is standard - RFD0PR10, so it's not a custom work.&lt;/P&gt;&lt;P&gt;Thank you for the analysis of the "stale" file error. I wasn't sure how to understand that but now it makes sense.&lt;/P&gt;&lt;P&gt;I'll take a look to see what we can do to limit the runtime. If that's not possible, we might have to open an OSS note with SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just interesting that it happens 1 or 2 times a month. The rest of the time, it works just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 19:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379211#M1642701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-21T19:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Field-Groups, Extract Dataset - Extract errors on a job (standard program)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379212#M1642702</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 had the same EXTRACT_OPEN_EXTRACTFILE_OPEN dump and on detailed analysis observed SAP creates temporary files in directory provided in profile parameter DIR_DATA and files would start with E*&lt;/P&gt;&lt;P&gt;like E0000160 and if those files are used or locked by some other process you will get this dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case AS400 is the server and MIMIX is an application that replicates files from application server so we stopped MIMIX from replicating those files in directory and this stopped from locking these files and the dump stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are temporary sort files that SAP creates in data directory for bulk jobs and deletes after the purpose is done. But these should not be locked by other processes but only SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks - JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 21:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups-extract-dataset-extract-errors-on-a-job-standard-program/m-p/8379212#M1642702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-05-06T21:52:16Z</dc:date>
    </item>
  </channel>
</rss>

