There is no function within the CA IMS Tools to display or report on LMP key status. From these products you will receive warning messages when the LMP key is due to or has expired. You will also receive messages within the product if a valid LMP key is not installed for that product. For example for CA Compress for IMS these messages would be:
SHR4007W COMPRESS FOR IMS FAILED LICENSE VALIDATION
SHR4008I PLEASE ENSURE THE LICENSE INFORMATION IS CORRECT
These two messages are issued in the JESMSGLG output of the joblog when Compress for IMS is invoked.
Here is a working example when executing the DL/I test program:
+DFS035I BATCH INITIALIZATION COMPLETE
+SHR4007W - COMPRESS FOR IMS FAILED LICENSE VALIDATION.
+SHR4008I - PLEASE ENSURE THE LICENSE INFORMATION IS CORRECT.
CAS9180E - CPU nnnnnn Requires a LMP key to run Prod (4R)
+SHR311I - SEGMENT xxxxxxxx.00000000 EXPANDED.
DFS627I IMS RTM CLEANUP ( EOT ) COMPLETE FOR JS BTSAOT .DFSDDLT0. ,RC=00
CAJR250I STEPNAME STEP PGM= CCODE EST-COST EXCPS ELAPSED TOT-CPU PAGE-IN P
CAJR251I DFSDDLT0 1 DFSRRC00 0000 $1.76 345 00:00:01.43 00:00:00.04 0
IEF404I BTSAOT - ENDED -
I would recommend using the CA Common Services verification utility, CAIRIMU, to verify licensing information. This can be done for all products or for specific product codes.
From the CA COMMON SERVICES 14.1 ADMIN GUIDE
CAIRIMU PROD Parameter (Optional)
You can use the optional PROD parameter with the CAIRIMU command to view detailed licensing information about your installed CA Technologies products.
This parameter has the following format:
Designates that the list generated contains only those products that are in violation or approaching the product expiration date.
xx and yy
Designates the product range.
For CA Compress for IMS, you would use the following command:
tso cairimu prod(4r)
This would provide details similar to the following:
CAS9087I Prod (4R) viols!warns/stat(000/N) Warnstart(Sun, 12-Jan-2020)
CAS9088I Expiry1(Tue, 11-Feb-2020) Expiry2(Thu, 12-Mar-2020)
Indicates the initial product expiration date.
Identifies the final expiration date (generally a grace period of 30 days
beyond the initial product expiration date). This is the last date that
the LMP key will be accepted and the last date the CAS9181A message will
be displayed for the product.