<?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: CREATE_UID from Alpha system in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666095#M32982</link>
    <description>Its been 20 years since I did FORTRAN but can you give it a array of 16 bytes then convert each binary byte value to two hex digits?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Nov 2005 15:31:44 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2005-11-07T15:31:44Z</dc:date>
    <item>
      <title>CREATE_UID from Alpha system</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666094#M32981</link>
      <description>I am trying to generate a UID from a Fortran program on OpenVMS Alpha.  Looking at the documenation I see that it wants a 16 byte argument.  Fortran has max 8 byte integer that I get a return value which I don't know is unique.  I also can use a 16 byte real argument that I also get a return value, but again don't know is unique. Either way, I need to convert to an ascii value to send in a pipe delimited file as the end of the exercise. Any help would be appreciated</description>
      <pubDate>Mon, 07 Nov 2005 13:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666094#M32981</guid>
      <dc:creator>Dan Cassels</dc:creator>
      <dc:date>2005-11-07T13:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE_UID from Alpha system</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666095#M32982</link>
      <description>Its been 20 years since I did FORTRAN but can you give it a array of 16 bytes then convert each binary byte value to two hex digits?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Nov 2005 15:31:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666095#M32982</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-11-07T15:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: CREATE_UID from Alpha system</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666096#M32983</link>
      <description>Dan,&lt;BR /&gt;  Don't use REAL. The UID could contain an arbitrary bit pattern, which might not be a valid floating point value, so touching the variable could generate an HPARITH or similar error.&lt;BR /&gt;&lt;BR /&gt;  Since FORTRAN isn't strongly typed, you can pass the address of any object at least 16 bytes long. Use whatever is most convenient for your purposes. Arrays, BYTE(16), WORD(8), LONG(4) or a structures containing multiple fields.&lt;BR /&gt;&lt;BR /&gt;  Best bet would be to write a little module that hides the details and the calls - and just implements the operations your application needs. For example you could implement MY_UID which returns (say) a hex string, if that's the most appropriate value for your application.</description>
      <pubDate>Mon, 07 Nov 2005 18:45:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-uid-from-alpha-system/m-p/3666096#M32983</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-11-07T18:45:42Z</dc:date>
    </item>
  </channel>
</rss>

