versionInfo command

The versionInfo command generates a report that includes a list of installed fix packs and interim fixes.

Product version information

The versionInfo tool displays important data about the product and its installed fix packs and interim fixes, such as the build version and build date. This tool is particularly useful when working with support personnel to determine the cause of any problem.

Product version reports:

The following report-generation scripts display installed product information:
  • versionInfo script

    Lets you use parameters to create a version report.

  • genVersionReport script

    Generates the versionReport.html report file in the current working directory, which is usually the app_server_root/bin directory.

Location of the command file

[IBM i]app_server_root/bin/versionInfo

[Linux][AIX][HP-UX][Solaris]app_server_root/bin/versionInfo.sh

[Windows]app_server_root\bin\versionInfo.bat

[z/OS]app_server_root/bin/versionInfo.sh

Syntax for the versionInfo command

The command syntax is:

[IBM i]
./versionInfo [ -format text | html ]
            [ -file file_name ]
            [ -long ]
            [ -fixpacks ]
            [ -fixpackDetail ]
            [ -ifixes ]
            [ -ifixDetail ] 
            [ -maintenancePackages (deprecated)]
            [ -maintenancePackageDetail (deprecated)]
            [ -components ] (deprecated and performs no action)
            [ -componentDetail ] (deprecated and performs no action)

versionInfo [ -help | /help | -? | /? | -usage ]
[Linux][AIX][HP-UX][Solaris]
./versionInfo.sh [ -format text | html ]
               [ -file file_name ]
               [ -long ]
               [ -fixpacks ]
               [ -fixpackDetail ]
               [ -ifixes ]
               [ -ifixDetail ] 
               [ -maintenancePackages (deprecated)]
               [ -maintenancePackageDetail (deprecated)]
               [ -components ] (deprecated and performs no action)
               [ -componentDetail ] (deprecated and performs no action)

versionInfo [ -help | /help | -? | /? | -usage ]
[Windows]
versionInfo [ -format text | html ]
            [ -file file_name ]
            [ -long ]
            [ -fixpacks ]
            [ -fixpackDetail ]
            [ -ifixes ]
            [ -ifixDetail ] 
            [ -maintenancePackages (deprecated)]
            [ -maintenancePackageDetail (deprecated)]
            [ -components ] (deprecated and performs no action)
            [ -componentDetail ] (deprecated and performs no action)

versionInfo [ -help | /help | -? | /? | -usage ]
[z/OS]
versionInfo.sh [ -format text | html ]
            [ -file file_name ]
            [ -long ]
            [ -fixpacks ]
            [ -fixpackDetail ]
            [ -ifixes ]
            [ -ifixDetail ] 
            [ -maintenancePackages (deprecated)]
            [ -maintenancePackageDetail (deprecated)]
            [ -components ] (deprecated and performs no action)
            [ -componentDetail ] (deprecated and performs no action)

versionInfo [ -help | /help | -? | /? | -usage ]

Issue the command from the bin directory of app_server_root.

Parameters

-? or /?
Displays command syntax.
-components
This parameter is deprecated and performs no action.
-componentDetail
This parameter is deprecated and performs no action.
-file file_name
Specifies the output file name. The report goes to standard output (stdout) by default.
-fixpacks
Adds a list of applied fixpacks to the report.
-fixpackDetail
Adds details about applied fixpacks to the report.
-format text | html
Selects the format of the report. The default is text.
-help or /help
Displays command syntax.
-ifixes
Adds a list of applied interim fixes to the report.
-ifixDetail
Adds details about applied interim fixes to the report.
-long
Creates the long version of the report.
-maintenancePackageDetail
This option is deprecated, and it performs an action that is equivalent to -fixpackDetail plus -ifixDetail.
-maintenancePackages
This option is deprecated, and it performs an action that is equivalent to -fixpacks plus -ifixes.
-usage
Displays command syntax.

Report description

The versionInfo command reports the following information:

Installation information

Displays the following general information about the current installation:
  • Report date and time - The date and time that the report was generated. The timestamp is formatted according to the current locale.
  • Product Directory - The file path to the installation root directory defined by the WAS_HOME environment variable.
  • Version Directory - The file path of the version directory of the current IBM® WebSphere® Application Server - ND installation.
  • DTD Directory - The file path of the DTD directory of the current IBM WebSphere Application Server - ND installation.
  • Log Directory - The file path of the log directory of the current IBM WebSphere Application Server - ND installation. The fix pack and interim fix log files are in the log directory.

Product list information

Displays a list of installed WebSphere products:
  • Product ID - The product ID of the installed product.
  • Status - The status of the product, either installed or uninstalled.

Installed product information

This information and the other information descriptions are hierarchal for each installed product, installed fix packs and interim fixes, and included APARs.

This section of the report displays the following information:
  • Name - The name of the installed product.
  • Version - The current version of the product. Installing or uninstalling fix packs or refresh packs modifies this version.
  • ID - The product ID of the product installed, such as BASE, ND, IHS, XD, PLG, or CLIENT.
  • Build Level - The build level of the installed product.
  • Build Date - The build date of the installed product.
  • Architecture - The architecture of the installed product.
  • Installed Features - The features installed on the product.

Installed fix pack information

Displays the general fix pack information:
  • Product ID - The ID of the product that this fix pack is for.
  • Version - The version of this fix pack.
  • Installation Manager Offering ID - The ID of offering or product installed using Installation Manager.
  • Build Level - The build level of this fix pack.
  • Build Date - The build date of this fix pack.
Installed interim fix information
Displays the general interim fix information:
  • Interim Fix ID - The ID of this interim fix.
  • Product ID - The ID of the product that this interim fix is for.
  • Applicable Level - The level of the fix pack on which this interim fix is built.
  • Installation Manager Offering ID - The ID of offering or product installed using Installation Manager.
  • Build Level - The build level of this interim fix.
  • Build Date - The build date of this interim fix.
Included APARs information

Displays the list of APARs fixed by this fix pack or interim fix.