IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
 View Only
  • 1.  Command Dsplickey vs view License_info

    Posted Thu June 01, 2023 11:32 AM

    Hi.  Why would the command Dsplickey provide a different count of information than the view License_info?

    For me, I count 43 rows of records with the Dsplickey report.  But I only count 25 rows of records with the License_info view.



    ------------------------------
    Joe Koontz
    ------------------------------


  • 2.  RE: Command Dsplickey vs view License_info

    Posted Thu June 01, 2023 10:19 PM

    Dear Joe

    DSPLICKEY displays entries from "license repository" that CAN contain license keys from other system or from SW products that are NOT installed in that IBM i LPAR/system.  You may wonder why.  The reason is that this license repository can be used to add license keys to other LPARs without a need to run ADDLICKEY command multiple times for each of all installed SW products.  How to do this can be found in this Technote: Copying Licensed Keys Between LPARs in the Same IBM System i System at  https://www.ibm.com/support/pages/copying-licensed-keys-between-lpars-same-ibm-system-i-system.     

    LICENSE_INFO view should show entries relevant to the SW products installed in that LPAR/system. 



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 3.  RE: Command Dsplickey vs view License_info

    Posted Fri June 02, 2023 07:45 AM

    Joe,

    Try this instead:  DSPLICKEY SERIAL(*ALL).  The default is *LOCAL.

    I have 446 entries in
    select count(*)
     from qsys2.license_info;

    Satid,

    The most likely reason for so many is that this lpar has been around since V2R1 if not sooner and it has carried over the licenses over all these years.  I just noticed license keys from V5R1, which I believe is when licenses started.  If I was doing a migration I think I could add a license key for the new machine prior to the migration.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------