<?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: How to get UIC in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262118#M44504</link>
    <description>I have attached a BASIC sample that has been in use for many years at a site which I support.&lt;BR /&gt;&lt;BR /&gt;It accepts the username in various formats (see the comments in the source)&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
    <pubDate>Wed, 03 Sep 2008 09:59:42 GMT</pubDate>
    <dc:creator>Duncan Morris</dc:creator>
    <dc:date>2008-09-03T09:59:42Z</dc:date>
    <item>
      <title>How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262114#M44500</link>
      <description>I want to get the UIC of user account in numeric format from my VAX BASIC program.  Which runtime library function should I use?  Please help.</description>
      <pubDate>Wed, 03 Sep 2008 02:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262114#M44500</guid>
      <dc:creator>cckcwong</dc:creator>
      <dc:date>2008-09-03T02:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262115#M44501</link>
      <description>&lt;!--!*#--&gt;[SYS]$GETUAI()?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/4527/4527pro_055.html#index_x_630" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/4527/4527pro_055.html#index_x_630&lt;/A&gt;</description>
      <pubDate>Wed, 03 Sep 2008 03:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262115#M44501</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-03T03:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262116#M44502</link>
      <description>For a general purpose identifier to ID service you would call SYS$ASCTOID.&lt;BR /&gt;See $HELP SYSTEM $ASCTOID&lt;BR /&gt;&lt;BR /&gt;For the UIC of the current process you would either call SYS$GETJPI with an item list requesting potentially many values or LIB$GETJPI for a simple single item. Both would be called a process ID = 0 and ITEM code JPI$_UIC.  JPI$_UIC is defined in $JPIDEF (as 772).&lt;BR /&gt;&lt;BR /&gt;See the basic user manual and GOOGLE for online examples.&lt;BR /&gt;Just google for: +openvms +basic + lib$getjpi&lt;BR /&gt;&lt;BR /&gt;You'll find places like:&lt;BR /&gt;&lt;A href="http://www3.sympatico.ca/n.rieck/links/openvms_demos.html" target="_blank"&gt;http://www3.sympatico.ca/n.rieck/links/openvms_demos.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Sep 2008 03:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262116#M44502</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-09-03T03:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262117#M44503</link>
      <description>cckcwong,&lt;BR /&gt;&lt;BR /&gt;I agree with Steven and Hein.  However, it is more important to ask: Why does the program need the UIC?&lt;BR /&gt;&lt;BR /&gt;There are very few instances in which the UIC is actually needed by a program. In most cases (e.g., file ownership) the best approach is to let OpenVMS propagate the information automatically.&lt;BR /&gt;&lt;BR /&gt;What task is the program actually attempting to do?&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 03 Sep 2008 08:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262117#M44503</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-09-03T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262118#M44504</link>
      <description>I have attached a BASIC sample that has been in use for many years at a site which I support.&lt;BR /&gt;&lt;BR /&gt;It accepts the username in various formats (see the comments in the source)&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 03 Sep 2008 09:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262118#M44504</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2008-09-03T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262119#M44505</link>
      <description>Terse questions beget terse answers.  Often correct answers, but surprisingly often answers that are either less than the best available for the local requirements, or answers that are outright wrong for the particular situation.  &lt;BR /&gt;&lt;BR /&gt;Please consider providing some background details.  &lt;BR /&gt;&lt;BR /&gt;I can think of a half-dozen different ways to answer your stated question here, depending on exactly what you're up to here.  Most of which will probably be wrong for what you intended.  &lt;BR /&gt;&lt;BR /&gt;As for the general answer for seeking code examples.&lt;BR /&gt;&lt;BR /&gt;Aim your browser at &lt;A href="http://www.itrc.hp.com" target="_blank"&gt;http://www.itrc.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Select the Compaq Search Assistant ("James")&lt;BR /&gt;&lt;BR /&gt;From there, you have access to 75,000 documents, of which many are full source code examples in a full selection of languages.  And few of which are available via Google.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Sep 2008 13:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262119#M44505</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-09-03T13:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get UIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262120#M44506</link>
      <description>&lt;!--!*#--&gt;Maybe some DCL will help ..&lt;BR /&gt;&lt;BR /&gt;$ write sys$output f$identifer("system","Name_to_number")&lt;BR /&gt;65540&lt;BR /&gt;$ write sys$output f$fao("!%U",f$identifer("system","Name_to_number"))&lt;BR /&gt;[1,4]&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Sep 2008 01:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-uic/m-p/4262120#M44506</guid>
      <dc:creator>Thomas Ritter</dc:creator>
      <dc:date>2008-09-04T01:16:00Z</dc:date>
    </item>
  </channel>
</rss>

