<?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: Floating point numbers in batches possible? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054036#M401</link>
    <description>Just got this from the VMS technical Update: This feature will be - standard - be available in 7.3-2. Amongst others...</description>
    <pubDate>Mon, 29 Sep 2003 05:08:54 GMT</pubDate>
    <dc:creator>Willem Grooters</dc:creator>
    <dc:date>2003-09-29T05:08:54Z</dc:date>
    <item>
      <title>Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054027#M392</link>
      <description>How can I store and manipulate floating point numbers from within a batch?&lt;BR /&gt;&lt;BR /&gt;I'm well versed in batch logic and lexicals etcetera but mainly for file manipulation.&lt;BR /&gt;&lt;BR /&gt;I know symbols can only hold integers and strings but I really need floating point numbers.&lt;BR /&gt;&lt;BR /&gt;Can anyone help?</description>
      <pubDate>Thu, 21 Aug 2003 14:26:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054027#M392</guid>
      <dc:creator>matt burns</dc:creator>
      <dc:date>2003-08-21T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054028#M393</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;how about this&lt;BR /&gt;&lt;BR /&gt;CFD002&amp;gt; a = "1.7"&lt;BR /&gt;CFD002&amp;gt; b = "2.1"&lt;BR /&gt;CFD002&amp;gt; icalc 'a' + 'b'&lt;BR /&gt;        3.8&lt;BR /&gt;CFD002&amp;gt; sh sym icalc*&lt;BR /&gt;  ICALC == "$PUBBIN:ICALC"&lt;BR /&gt;  ICALC_OUT = "        3.8"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Icalc can be found at&lt;BR /&gt;&lt;A href="http://zinser.no-ip.info:8080/www/vms/sw/icalc.htmlx" target="_blank"&gt;http://zinser.no-ip.info:8080/www/vms/sw/icalc.htmlx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;A href="ftp://vms.process.com/ftp/vms-freeware/fileserv/" target="_blank"&gt;ftp://vms.process.com/ftp/vms-freeware/fileserv/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(the new home of the WKU archive, yes I know I need to update that page) &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2003 16:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054028#M393</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-08-21T16:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054029#M394</link>
      <description>&lt;BR /&gt;Cheers for the tip with ICALC, it was just the sort of thing I needed. Extra bonus for the trig functions cos I needed them too!</description>
      <pubDate>Tue, 26 Aug 2003 09:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054029#M394</guid>
      <dc:creator>matt burns</dc:creator>
      <dc:date>2003-08-26T09:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054030#M395</link>
      <description>&lt;BR /&gt;This is really another question but I thought I'd continue on this one...&lt;BR /&gt;&lt;BR /&gt;The ICALC utility is great but, when not run interactively it still generates output.&lt;BR /&gt;I can't compile C code on the node I use and so cant change ICALC. I know I can divert SYS$OUTPUT into a text file, but is it possible to divert it into nothing like on unix?&lt;BR /&gt;&lt;BR /&gt;If you're wandering what it's for, it to code a rotating wireframe cube made from asterixes on a VT100 terminal through telnet, I've attatched a basic working version if you're interested!</description>
      <pubDate>Fri, 29 Aug 2003 08:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054030#M395</guid>
      <dc:creator>matt burns</dc:creator>
      <dc:date>2003-08-29T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054031#M396</link>
      <description>Hi Matt,&lt;BR /&gt;I downloaded your file and ICALC; I've compiled ICALC anad run CUBE. I can't understand exactly your problem, perhaps it's follow:&lt;BR /&gt;a) You can assingn output to null assign to device NLA0: (I suppose to change assign to *.TMP I've found so run quicly)&lt;BR /&gt;b) I've look for source and I've found ICALC can solve cos, sin and other trigonometric funcion.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Antoniov&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Aug 2003 09:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054031#M396</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-08-29T09:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054032#M397</link>
      <description>$ define/user sys$output nla0:&lt;BR /&gt;$ icalc 4.4 * 3.3&lt;BR /&gt;$ sh sym ica*&lt;BR /&gt;  ICALC == "$PUBBIN:ICALC"&lt;BR /&gt;  ICALC_OUT = "        14.52"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/user causes the define to be active for the next command invocation, so it is restored automatically after the icalc calculation&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Fri, 29 Aug 2003 14:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054032#M397</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-08-29T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054033#M398</link>
      <description>matt&amp;gt; I've attatched a basic working version if you're interested! &lt;BR /&gt;&lt;BR /&gt;That attachment was a zipped vms variable length record file with extention .com.&lt;BR /&gt;Which is perfectly fine by me and my vms systesm, but it upsets my billybox.&lt;BR /&gt;As I to read it on my pc, Notepad goes all funny. &lt;BR /&gt;The freeware 'textpad' that I use instead of notepad at least shows contents in its hex binary view mode.&lt;BR /&gt;&lt;BR /&gt;To really read it I cobbled up a little perl script.&lt;BR /&gt;For your entertainment (nospan not supported :-)....&lt;BR /&gt;&lt;BR /&gt;binmode STDIN;&lt;BR /&gt;while (read STDIN,$length_word,2) {&lt;BR /&gt;# avoid using "S" or "V". just do the math.&lt;BR /&gt;  ($length,$null) = unpack ("CC",$length_word);&lt;BR /&gt;  $length += $null*256;&lt;BR /&gt;  last if ($length &amp;gt; 32767);&lt;BR /&gt;  $read = read STDIN,$line,$length;&lt;BR /&gt;#  print "$length\t$line\n";&lt;BR /&gt;  print "$line\n";&lt;BR /&gt;  read STDIN,$null,1 if ($length &amp;amp; 1);&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Sep 2003 02:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054033#M398</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-09-01T02:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054034#M399</link>
      <description>&lt;BR /&gt;Cheers for the help guys, the nla0: tip was handy, and I've sped up quite a few of my batches with it :o)&lt;BR /&gt;&lt;BR /&gt;To the chap with the perl script, you only had to ask and I would have sent it in windows format! nice script though!</description>
      <pubDate>Tue, 02 Sep 2003 09:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054034#M399</guid>
      <dc:creator>matt burns</dc:creator>
      <dc:date>2003-09-02T09:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054035#M400</link>
      <description>sometimes it is easier to do this&lt;BR /&gt;$b =  5&lt;BR /&gt;$c =  2&lt;BR /&gt;$a = (100*b)/c&lt;BR /&gt;$show symbol a&lt;BR /&gt;a = "250"&lt;BR /&gt;If you want to display the value of a the right way you simpley use f$extract to place the comma&lt;BR /&gt;&lt;BR /&gt;$output = "''f$extract(0,1,a)',-&lt;BR /&gt;                   ''f$extract(1,2,a)'"&lt;BR /&gt;&lt;BR /&gt;show symbol output&lt;BR /&gt;output = "2,50"&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2003 04:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054035#M400</guid>
      <dc:creator>Jeroen Hartgers_2</dc:creator>
      <dc:date>2003-09-29T04:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point numbers in batches possible?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054036#M401</link>
      <description>Just got this from the VMS technical Update: This feature will be - standard - be available in 7.3-2. Amongst others...</description>
      <pubDate>Mon, 29 Sep 2003 05:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/floating-point-numbers-in-batches-possible/m-p/3054036#M401</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-09-29T05:08:54Z</dc:date>
    </item>
  </channel>
</rss>

