IBM Support

Custom Code for Identifying Installed HOD Count

General Page

This utility helps to determine the number of HOD installations performed using Install Anywhere and IBM Installation Manager.

Prerequisite for all OS

Install Java 11 or above.

Running the Custom Code

Note: Ensure that the Installation Manager is closed before you proceed.
The table below lists the commands applicable to all supported operating systems.
Content
Command to Run
Description
Help
java -cp "<HOD Installed Path>/install/ customCode.jar" com.hcl.ia.util.getDetails -h
Will list the command for IM and IA.
IBM Installation Manager Command
java -cp "<HOD Installed Path>/install/ customCode.jar" com.hcl.ia.util.getDetails -imhod
Lists the installed version of HOD through installation Manager.
Install Anywhere Command

java -cp "<HOD Installed Path>/install /customCode.jar" com.hcl.ia.util.getDetails -iahod

Lists the installed version of HOD through Install Anywhere.
Example:
Using utility command in Windows
Note: Open the command prompt in the Administrator mode.
1. To list out Install Anywhere installed instance, run the below command from JRE bin folder:
java -cp "C:\Program Files\IBM\HostOnDemand_15.0.3.0\install\customCode.jar" com.hcl.ia.util.getDetails -iahod
Install Anywhere Instance
2. To list out IBM Installation Manager installed instance, run the below command from JRE bin folder:
java -cp " C:\Program Files\IBM\HostOnDemand_15.0.3.0\install\customCode.jar" com.hcl.ia.util.getDetails -imhod
IBM Installation Manager 
 
 
 
 

[{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSS9FA","label":"IBM Host On-Demand"},"ARM Category":[{"code":"a8m0z0000000CBbAAM","label":"HOD"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"15.0.3"}]

Document Information

Modified date:
18 December 2024

UID

ibm17178336