<?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: Is there a documented LMF interface? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851775#M70767</link>
    <description>The API is documented (LMF$GRANT_LICENSE and LMF$RELEASE_LICENSE)in a document available from the DSPP web site. If you have access search there. From a quick look I don't see how to do what you ask.</description>
    <pubDate>Fri, 19 Dec 2003 12:01:16 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2003-12-19T12:01:16Z</dc:date>
    <item>
      <title>Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851771#M70763</link>
      <description>Background:  we use LMF within our product to limit customer access via an N-user license.&lt;BR /&gt;One customer would like the ability to be notified once their license usage gets to a predefined value less than the limit (e.g. when there are only 5 licenses left).&lt;BR /&gt;Question:  is there a documented API to access the information displayed via the SHOW LICENSE/UASGE command?  I suspect there is not but I thought I would ask the question anyway.&lt;BR /&gt;We already have code to do notification when the&lt;BR /&gt;current attempt to use the product exceeds the license limit but this one customer wants more.  I can parse the output of the SHOW LICENSE command but don't like doing this kind of thing (for obvious reasons).&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Dec 2003 23:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851771#M70763</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2003-12-18T23:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851772#M70764</link>
      <description>Hello &lt;BR /&gt;&lt;BR /&gt;I do not know if there is a documented or undocumented Api  for  LMF.&lt;BR /&gt;&lt;BR /&gt;I think there must be a better way than parsing sh lic/usage, I will do some tests before posting more.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Gerard</description>
      <pubDate>Fri, 19 Dec 2003 04:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851772#M70764</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2003-12-19T04:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851773#M70765</link>
      <description>No officially documented ones, it seems.&lt;BR /&gt;&lt;BR /&gt;Not much help perhaps, but if you take a look into SYS$SHARE:SYS$STARLET_C.TLB and SYS$SHARE:SYS$LIB_C.TLB you will find LMFDEF and LMFITMDEF respectively. In these header files you may find some information on the structures involved. I would expect that somewhere in memory (no doubt addressed by some system symbol) you can access this data and then find out what you want.&lt;BR /&gt;&lt;BR /&gt;HTH (to start with)&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Fri, 19 Dec 2003 08:52:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851773#M70765</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2003-12-19T08:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851774#M70766</link>
      <description>Try a search in openvms news group at&lt;BR /&gt;&lt;A href="http://www.openvms.org/" target="_blank"&gt;http://www.openvms.org/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;Bye&lt;BR /&gt;Antoniov&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2003 11:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851774#M70766</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2003-12-19T11:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851775#M70767</link>
      <description>The API is documented (LMF$GRANT_LICENSE and LMF$RELEASE_LICENSE)in a document available from the DSPP web site. If you have access search there. From a quick look I don't see how to do what you ask.</description>
      <pubDate>Fri, 19 Dec 2003 12:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851775#M70767</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2003-12-19T12:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851776#M70768</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;  *UNDOCUMENTED*, might not work into the future, and may be tricky to get right in a cluster...&lt;BR /&gt;&lt;BR /&gt;  Your PAK must be activity based, in which case usage is tracked using locks. The resource name will be something like "LMF$D_&lt;PRODUCT-NAME&gt;". Each use will be represented by a NL mode lock in the granted queue.&lt;BR /&gt;&lt;BR /&gt;  So, you should be able to cook something up using $GETLKI. Use SDA to see what's happening as you grant and release.&lt;BR /&gt;&lt;BR /&gt;  Another (very kludgy!) way to check is attempt to GRANT yourself N times, then RELEASE. If you use an application defined lock around your call to LMF$GRANT_LICENSE you can avoid the potential timing windows with real client GRANT's.&lt;/PRODUCT-NAME&gt;</description>
      <pubDate>Sun, 04 Jan 2004 17:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851776#M70768</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-01-04T17:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851777#M70769</link>
      <description>Thanks to all who responded.&lt;BR /&gt;John, with the lock data and the logical in lmf$license_table this should be enough.&lt;BR /&gt;&lt;BR /&gt;They will be made aware that it is UNDOCUMENTED and UNSUPPORTED.&lt;BR /&gt;&lt;BR /&gt;Thanks again to all&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Sun, 04 Jan 2004 19:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851777#M70769</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-01-04T19:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a documented LMF interface?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851778#M70770</link>
      <description>Just doing some housekeeping.&lt;BR /&gt;I have a solution to this issue and if anyone&lt;BR /&gt;is interested in the code, you know where to&lt;BR /&gt;contact me...&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Sep 2005 07:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/is-there-a-documented-lmf-interface/m-p/4851778#M70770</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-09-05T07:12:44Z</dc:date>
    </item>
  </channel>
</rss>

