<?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 Query: Float values to REST API in Hp Nonstop in HPE NonStop Compute</title>
    <link>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235866#M8232</link>
    <description>&lt;P style="margin: 0;"&gt;Hello,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Let us know if you were able to resolve the issue.&lt;BR /&gt;&lt;BR /&gt;If you are satisfied with the answers then kindly click the "Accept As Solution" button for the most helpful response so that it is beneficial to all community members.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2025 14:17:20 GMT</pubDate>
    <dc:creator>support_s</dc:creator>
    <dc:date>2025-02-24T14:17:20Z</dc:date>
    <item>
      <title>Float values to REST API from Hp Nonstop</title>
      <link>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235353#M8230</link>
      <description>&lt;P&gt;Issue: Not able to send float values in restapi payload from Tandem to External world.&lt;BR /&gt;&lt;BR /&gt;CSL-Studio: Data type in CSL studio is float&lt;/P&gt;&lt;P&gt;Generated Stub file:&lt;/P&gt;&lt;P&gt;TEMPERATURE NATIVE-4&lt;/P&gt;&lt;P&gt;On Tandem we have data type &lt;STRONG&gt;PIC 9(4)V9(3)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When we try to move these values to the TEMPERATURE NATIVE-4 We are getting only the first value before point&lt;/P&gt;&lt;P&gt;MOVE 1.4 TO&amp;nbsp;TEMPERATURE&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I am getting only 1 in&amp;nbsp;TEMPERATURE&amp;nbsp;&lt;/P&gt;&lt;P&gt;VHS Error:&lt;BR /&gt;Invalid input values&lt;/P&gt;&lt;P&gt;When we change the stub file:&lt;BR /&gt;TEMPERATURE PIC 9(1)V9(3)&lt;/P&gt;&lt;P&gt;Values looks good on Tandem side,&amp;nbsp;&lt;/P&gt;&lt;P&gt;MOVE 1.4 TO&amp;nbsp;TEMPERATURE&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here 1.4 in&amp;nbsp;TEMPERATURE&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the value is not passing to Server, It is coming as Zero.&lt;BR /&gt;"temperature": 0.000000&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help is appriciated and Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 10:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235353#M8230</guid>
      <dc:creator>sailokesh</dc:creator>
      <dc:date>2025-02-18T10:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Float values to REST API from Hp Nonstop</title>
      <link>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235589#M8231</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2396197"&gt;@sailokesh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is likely due to a data type mismatch between the Tandem system (PIC 9(4)V9(3)) and the external API. The key problems are:&lt;/P&gt;&lt;P&gt;Firstly that might be&amp;nbsp;NATIVE-4 truncates the decimal part, keeping only the integer value.&lt;/P&gt;&lt;P&gt;Secondly,&amp;nbsp;PIC 9(1)V9(3) correctly retains the decimal on Tandem but sends 0.000000 in the API.&lt;/P&gt;&lt;P&gt;Possible solutions are:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using NATIVE-8 instead of NATIVE-4.&amp;gt;&amp;gt;&amp;nbsp;Explicitly convert the value using FUNCTION NUMVAL(TEMPERATURE).&amp;gt;&amp;gt;&amp;nbsp;Ensure the API expects float values correctly formatted (e.g., as a string).&amp;gt;&amp;gt;&amp;nbsp;Ensure the API expects float values correctly formatted (e.g., as a string).&amp;gt;&amp;gt; The bebug the outgoing JSON payload to confirm the value before transmission.&lt;BR /&gt;&lt;BR /&gt;I hope it helps. Let me know..&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 15:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235589#M8231</guid>
      <dc:creator>Mr_Techie</dc:creator>
      <dc:date>2025-02-20T15:02:22Z</dc:date>
    </item>
    <item>
      <title>Query: Float values to REST API in Hp Nonstop</title>
      <link>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235866#M8232</link>
      <description>&lt;P style="margin: 0;"&gt;Hello,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Let us know if you were able to resolve the issue.&lt;BR /&gt;&lt;BR /&gt;If you are satisfied with the answers then kindly click the "Accept As Solution" button for the most helpful response so that it is beneficial to all community members.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 14:17:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235866#M8232</guid>
      <dc:creator>support_s</dc:creator>
      <dc:date>2025-02-24T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Float values to REST API from Hp Nonstop</title>
      <link>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235970#M8233</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2260298"&gt;@Mr_Techie&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. It's not working.&lt;BR /&gt;&lt;BR /&gt;When I put native-8, I am getting length invalid.&lt;BR /&gt;&lt;BR /&gt;My server is expecting float values.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 09:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-nonstop-compute/float-values-to-rest-api-from-hp-nonstop/m-p/7235970#M8233</guid>
      <dc:creator>sailokesh</dc:creator>
      <dc:date>2025-02-25T09:01:09Z</dc:date>
    </item>
  </channel>
</rss>

