List installed features using imcl commands

Use the listInstalledFeatures command to list the features in a specified package.

Procedure

To list the installed features in a package:

  1. Open a command-line utility.

  2. Open the tools directory.

  3. Run the command to list installed features:
    imcl listInstalledFeatures packageID_version 
            [ -installationDirectory installation_directory ]
            [ -long ] 
    These examples use the -long option:

    • Windows: imcl.exe listInstalledFeatures packageID_version -long
    • UNIX: ./imcl listInstalledFeatures -long
    These examples use the -installationDirectory option:

    • Windows: imcl.exe listInstalledfeatures packageID_packageVersion -installationDirectory installation_directory
    • Linux, UNIX, IBM i, z/OS, and OS X: ./imcl listInstalledFeatures packageID_packageVersion -installationDirectory installation_directory

    Enclose file paths that include spaces with double quotation marks.


Results

Run the listInstalledFeatures command returns a list of features in this format:

featureID1a
featureID1b

If the offering cannot be found, the command returns the message:

The packageID_version package is not installed.

Running the listInstalledFeatures command with the -long option returns a longer description of the features. The returned information is in this format:

featureID1a : display_name1
featureID1b : display_name2

If the package is found in more than one installation location, the command returns this message:

ERROR: packageID_version is installed in more than one installation directory. Run one of the following commands:
listInstalledFeatures packageID_version -installationDirectory installation_directory

If the path to the package cannot be found using the -installationDirectory option, the command returns the message:

ERROR: The packageID_version package is not installed at installation_directory.


What to do next

After listing the installed features, use the imcl commands to install more packages or updates.
Home