Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Create *LICKEYFILE from ADDLICKEY commands

Public visualization

Viewing a saved revision (read-only)

0383a45b183f45f68a5aacc9230eefa4

Fork of Create *LICKEYFILE from ADDLICKEY commands

0 stars0🌍 Public
AAlisonB319
Last edited May 7, 2021
Created on May 7, 2021

This example shows a client-side HTML form that generates an IBM i *LICKEYFILE from pasted ADDLICKEY commands. It parses command parameters using JavaScript regular expressions, validates fields like product ID and license key, then formats each record into a downloadable file. No data is transmitted to another computer, relying on the browser’s textarea and button event handlers to process input locally.

AI-generated description

It is possible to add multiple license keys to an IBM i system, either through the HMC chlickey or an ADDLICKEY LICKEYINP(*LICKEYFILE) command, with a specially formatted text file. One way to generate this file is on IBM i with the DSPLICKEY OUTPUT(*LICKEYFILE) command, but this requires that you already have your keys in a license key repository. So what are you to do if you only have a bunch of ADDLICKEY LICKEYINP(*PROMPT) style commands?

This form will assist in building a *LICKEYFILE from a series of ADDLICKEY commands. Just paste the commands into the textarea, click the Download button, and save the generated file to your PC. From there, you can FTP it as text to your IBM i or HMC, ready to add to your partition(s).

No data is sent by this form to any other computer.