|
#1
|
|||
|
|||
|
Trial Code for Software Developer
I've developed a software package that I want to sell to one of my clients. I want to put a trial code function in the program that expires in a given time period, (Say 30 days), afterwhich the program would cease to function until a "permanent" code is entered. I also would like to be able to allow the client to update that code at any time with a "temporary" code allowing the user to "extend" their trial period while waiting for corporate approval to purchase the product. This must be an RPG or CL solution. I expect that it will be tied to the iseries serial number, but I've never written a process like this before. Can someone give me some ideas as to how to accomplish this. I appreciate any help.
|
|
#2
|
||||
|
||||
|
Software Product APIs
Software product APIs let you work with software products and program temporary fixes (PTFs) on your system. With these APIs, you can:
* Work with the software license management for a product * Create and delete product definition and product load objects * Package one or more product loads for a specified product option * Retrieve product information about a specific product load * Create PTFs, retrieve PTF information, and log PTF information * Retrieve a list of products You may write exit programs that are called by programs and by program temporary fixes (PTFs). For information about packaging and managing software products, see the System Manager Use book. The steps for packaging a product are the same whether you use the System Manager licensed program commands or the APIs in this section. For more information about Software Product APIs, look here. |
|
#3
|
|||
|
|||
|
Have a data area that has the trial info in an encoded fashion. Read it in the CL/ RPG programs and run the package only when the boundary is within 30 days or else donot allow them by flashing a message/ program message or break message.
If they want extend, change the data area accordingly. I would suggest that you decode the data area contents in RPG because the CL source can be retrieved. This idea if implemented can take care of the time problems and you create your own licence kindof
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|