<?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: C0000005 error on disp.work.EXE with a SELECT command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/c0000005-error-on-disp-work-exe-with-a-select-command/m-p/1077557#M96730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody have met the same problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2005 09:08:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-16T09:08:23Z</dc:date>
    <item>
      <title>C0000005 error on disp.work.EXE with a SELECT command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/c0000005-error-on-disp-work-exe-with-a-select-command/m-p/1077556#M96729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;I'm getting a pretty serious error with the command SELECT. I use native SQL to get some data on an external database. I use it in order to get a field "image" in a mssql table. &lt;/P&gt;&lt;P&gt;The code :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
data tempbyte type xstring.
    EXEC SQL.
      SELECT Filename, Filesize, Doc INTO :filetemp, :file_length,
 :tempbyte FROM Docs;
    ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For small file around 30ko it's working fine. For file more than 100 ko it crashs severely. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing quite surprising it's that the insert of a big file in the external database go smoothly.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data tempfile type xstring.

EXEC SQL.
  INSERT INTO Docs(Filename, Filesize, Doc)
         VALUES ( :temps, :wf_file_length, :tempfile);
  Commit;
  ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there some limitation on xstring data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i execute the select statement a message popup "Work process re-started, session terminated". When i loof in the dump the probelem seem to come from the sqloledb.dll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is someone alredy had a similar problem? Many thanks for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2005 08:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/c0000005-error-on-disp-work-exe-with-a-select-command/m-p/1077556#M96729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-16T08:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: C0000005 error on disp.work.EXE with a SELECT command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/c0000005-error-on-disp-work-exe-with-a-select-command/m-p/1077557#M96730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody have met the same problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2005 09:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/c0000005-error-on-disp-work-exe-with-a-select-command/m-p/1077557#M96730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-16T09:08:23Z</dc:date>
    </item>
  </channel>
</rss>

