<?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 sql/mp error -8412 in HPE NonStop Compute</title>
    <link>https://community.hpe.com/t5/hpe-nonstop-compute/sql-mp-error-8412/m-p/7267995#M8346</link>
    <description>&lt;P&gt;I get a sqlcode -8412 on a FETCH in a COBOL program.&amp;nbsp; Manual is not a help; manual says there is a type incompatability.&lt;BR /&gt;I define a cursor to select all columns.&amp;nbsp; I use and INVOKE AS statement.&amp;nbsp; I use a FETCH INTO operation.&amp;nbsp; The OPEN is successful.&amp;nbsp; The FETCH fails on the first execution.&lt;BR /&gt;&lt;BR /&gt;I used an INVOKE statement (with some editing, of course) to create both the SELECT list of columns and the buffer into which the FETCH will deposit each row.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't see what is wrong.&lt;BR /&gt;&lt;BR /&gt;Any thoughts to send my way?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2026 23:15:39 GMT</pubDate>
    <dc:creator>Hireme</dc:creator>
    <dc:date>2026-06-02T23:15:39Z</dc:date>
    <item>
      <title>sql/mp error -8412</title>
      <link>https://community.hpe.com/t5/hpe-nonstop-compute/sql-mp-error-8412/m-p/7267995#M8346</link>
      <description>&lt;P&gt;I get a sqlcode -8412 on a FETCH in a COBOL program.&amp;nbsp; Manual is not a help; manual says there is a type incompatability.&lt;BR /&gt;I define a cursor to select all columns.&amp;nbsp; I use and INVOKE AS statement.&amp;nbsp; I use a FETCH INTO operation.&amp;nbsp; The OPEN is successful.&amp;nbsp; The FETCH fails on the first execution.&lt;BR /&gt;&lt;BR /&gt;I used an INVOKE statement (with some editing, of course) to create both the SELECT list of columns and the buffer into which the FETCH will deposit each row.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I don't see what is wrong.&lt;BR /&gt;&lt;BR /&gt;Any thoughts to send my way?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 23:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-nonstop-compute/sql-mp-error-8412/m-p/7267995#M8346</guid>
      <dc:creator>Hireme</dc:creator>
      <dc:date>2026-06-02T23:15:39Z</dc:date>
    </item>
  </channel>
</rss>

