× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello,

At Simon Coulters suggestion, I tried creating my product with a grace period instead of generating a 30 day license key at RSTLICPGM time. The problem I am having with this is recognizing when the grace period is over (under my old way, I would send a "Trial expires in nnn days" message).

Using the grace period method, the day I installed the product, QLZARTV (Retrieve License Information) was returning a Grace Period Expires date of 9999999 and a licence key expiration date of 9999999. I tried this again on the following day and the Grace Period Expires date was still 9999999. I think the license key expiration date was also 9999999, but do not have a print screen and I have since created a product license which fills in the license key expiration date. I would have thought that at least one of the dates would tell me how much time is left on the Grace Period or that there would be some kind of message, but I didn't see anything.

QLZADDLI (Add License Key) parms are set as follows:

D LicenseInfoDS   DS
D UsageType 2 Inz('01') Concurrent limit D Compliance 2 Inz('03') Must have key D DftUsageLimit 10I 0 Inz(*Zero) Allowed days w/o key D LicenseTerm 1 Inz('2') Entire Release D AllowLicRel 1 Inz('0') Can't be released D VendorPasswrd 10 Inz('xxxxxxxxxxxxxxxxx') Same for keys!!! D GracePeriod 10I 0 Inz(30) Grace period days
D  AllowGracePer                 1    Inz('1')                             Yes

License Key information returned by QLZERTV API on the day the product was installed is as follows:

BYTESRETURNED OF LICKEYINFO = 87
BYTESAVAIL OF LICKEYINFO = 142
USAGELIMIT OF LICKEYINFO = -1
USAGECOUNT OF LICKEYINFO = 0
USAGETYPE OF LICKEYINFO = '01'
COMPLIANCETYP OF LICKEYINFO = '03'
LICENSETERM OF LICKEYINFO = 'V2R1  '
LKIRELEASELVL OF LICKEYINFO = 'V2R1M0
THRESHOLDVAL OF LICKEYINFO = -1
GRACEPERIOD OF LICKEYINFO = 30
GRACEEXPIRES OF LICKEYINFO = '9999999
PROCESSORGRP OF LICKEYINFO = 'P05'
LKIRESERVED OF LICKEYINFO = '  '
PEAKUSAGE OF LICKEYINFO = 0
EXPIRECENTURY OF LICKEYINFO = '9
EXPIREDATE OF LICKEYINFO = '9999999
EXPIREYMD OF LICKEYINFO = '999999
VENDORDATA OF LICKEYINFO = '        '
PRDLICHANDLE OF LICKEYINFO = 'xxxxxxxxxxxxxxxx'

Shouldn't I be able to tell when the grace period expires from the license APIs or do I just have to wait until the system figures out that the Grace Period has expires and shuts off the usage of the product? I would have thought that since I have a Default Usage Limit of Zero, that the Grace period count down would start the first time I used the product.

Thanks


Dave Murvin
DRM Enterprises, Inc.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.