ASNA DataGate for IBM i 16.x introduces a license registration change. Starting with 16.x, the license now includes the IBM i partition number (LPAR). While there isn’t a direct way to see this value on your IBM i, there is an easy, indirect way (these steps are all read-only and don’t change anything on your IBM i):

First, from the IBM i command line:

Then, from the QCMD panel:

Which shows this display:

IBM i qlzarcapi

The Partition ID is in the Partition Info-> area, about four or five lines down (shown above in the red box).

We’ll also need your IBM serial number

and its model number

Getting your license

Contact us and provide us with:

and we’ll generate a license for you.

Send us an email at codes@asna.com or use the phone numbers listed here to give us the information we need to get your license.

Applying the license

You apply the license with this command:

<DataGate Library>/register

where is the name of your DataGate library. See this article if you aren’t sure of the name of your DataGate library.

That displays the screen below:

Licensing DataGate for IBM i 16.x

The red box above shows where the Partition ID is displayed.

Thank you!

A big thank you to Matt Marsh at The Walt Disney Company for bringing the QLZARCAPI API to our attention and a big thank you to Simon Hutchinson for writing about the API at his blog RPGPGM.com.

Other helpful DataGate for IBM i articles.