Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help With QLZADDLI API

19 views
Skip to first unread message

Obelix-it

unread,
Dec 11, 2009, 4:10:49 AM12/11/09
to
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

iseriesflorida

unread,
Dec 11, 2009, 10:31:18 AM12/11/09
to

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.

CRPence

unread,
Dec 11, 2009, 12:57:44 PM12/11/09
to
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

Obelix-it

unread,
Dec 18, 2009, 10:05:34 AM12/18/09
to
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.

yl_mra

unread,
Dec 23, 2009, 12:10:58 PM12/23/09
to

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 new messages