Go Back   System iNetwork Forums > Development > RPG

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2005, 08:08 AM
rexar rexar is offline
Member
 
Join Date: Sep 2005
Posts: 64
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.
Reply With Quote
  #2  
Old 11-19-2005, 09:58 AM
LittlePD's Avatar
LittlePD LittlePD is offline
Member
 
Join Date: Sep 2005
Location: Lewisville, TX
Posts: 89
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.
Reply With Quote
  #3  
Old 11-30-2005, 03:52 AM
Ajay Ajay is offline
Member
 
Join Date: Nov 2005
Location: Pune
Posts: 30
Thumbs up How abt this

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:17 PM.