Help With QLZADDLI API

  • Follow


Hi to all.

I'm writing a small tool to create a licensed program, and i hope some 
one can help me with this API because the info i found on IBM site ins't 
clear enough for me (maybe just because english is not my primary 
language...)

My bigger problem is in how to understand the LICI0200 format's field, 
especially for usage and grace period. I've googled around a bit, but 
didn't find anything related

What i would like to do is to setup the program so that it is tied to 
that particular machine, count partition, but not based on user (as it 
is a daemon, and it is supposed to be run in just one instance for every 
logical partition).

What is not clear to me is the combination of Grace period and Default 
usage limit.

Is it correct to setup Default Usge Limit -> zero and Grace period -> 70 
so that whe installed without a Key it allows 70 days grace period and 
then stops??

Any Hint or link will be appreciated. Thanks

0
Reply Obelix-it (6) 12/11/2009 9:10:49 AM

On Dec 11, 4:10=A0am, Obelix-it <Obelix...@tele2.it> wrote:
> Hi to all.
>
> I'm writing a small tool to create a licensed program, and i hope some
> one can help me with this API because the info i found on IBM site ins't
> clear enough for me (maybe just because english is not my primary
> language...)
>
> My bigger problem is in how to understand the LICI0200 format's field,
> especially for usage and grace period. I've googled around a bit, but
> didn't find anything related
>
> What i would like to do is to setup the program so that it is tied to
> that particular machine, count partition, but not based on user (as it
> is a daemon, and it is supposed to be run in just one instance for every
> logical partition).
>
> What is not clear to me is the combination of Grace period and Default
> usage limit.
>
> Is it correct to setup Default Usge Limit -> zero and Grace period -> 70
> so that whe installed without a Key it allows 70 days grace period and
> then stops??
>
> Any Hint or link will be appreciated. Thanks

Grace period is the time that it will be allowed to run, usage limit
is how many users can use the product.  I will see what I might be
able to find on this api.  Depending on how many users you want to
access the product maybe it should be *NOMAX.
0
Reply iseriesflorida 12/11/2009 3:31:18 PM


Obelix-it wrote:
> 
> I'm writing a small tool to create a licensed program,
> and I hope some one can help me with this API because
> the info I found on IBM site is not clear enough for me
> (maybe just because English is not my primary language...)
> 
> <<SNIP>>
> 
> Any Hint or link will be appreciated. Thanks
> 

   A couple people on the midrange.com email lists [also on news:// 
service] are well versed in the license APIs.  They frequent the 
Midrange-L list.

Regards, Chuck
0
Reply CRPence 12/11/2009 5:57:44 PM

Il 11/12/2009 18.57, CRPence ha scritto:

> A couple people on the midrange.com email lists [also on news://
> service] are well versed in the license APIs. They frequent the
> Midrange-L list.
Thanks to both for answering. As soon as i stop to rewite the @#@#@#@ 
package in 4.4.0 i'll come to Midrange-l and ask there.

0
Reply Obelix 12/18/2009 3:05:34 PM

On Dec 18, 10:05=A0am, Obelix-it <Obelix...@tele2.it> wrote:
> Il 11/12/2009 18.57, CRPence ha scritto:
>
> > A couple people on the midrange.com email lists [also on news://
> > service] are well versed in the license APIs. They frequent the
> > Midrange-L list.
>
> Thanks to both for answering. As soon as i stop to rewite the @#@#@#@
> package in 4.4.0 i'll come to Midrange-l and ask there.

You need to set up the program for the daemon so the you can only
invoke a single instance. In an I partition, you can lock the program
description (that is NOT the program itself - the program description
is part of the program object) on startup and unlock it before or upon
exit. You are trying, from my experience, to use the LIC tool for
something for which it was not designed. If you are running in a UNIX
or AIX partition, you will need to enforce the single instance using
standard procedures.
0
Reply yl_mra 12/23/2009 5:10:58 PM

4 Replies
309 Views

(page loaded in 0.397 seconds)


Reply: