version
Syntax
version -V | -u | -h
version [-a] [-f vfile] [file [...]]
Arguments
- -V
- Displays the version of the command and exits.
- -u
- Displays command usage information and exits.
- -h
- Displays command help information and exits.
- -a
- Displays information about all product files. The default is to display information only about the specified files.
- -f vfile
- Specifies the path and name of the version file if different from
the default setting. The default is a file named
version.info
in the current working directory. - file
- Specifies the names of product files, separated by spaces, for which version information is displayed. The default is to display no file information, or, if -a is used, all file information.
Results
The output header contains the
product name, version, operating system, patch level, and installation
date. The remaining display lists information about the file or files
specified. The files are listed in the following format:
- File
- The name of the file.
- Revision
- The revision number of the file.
- Patch
- The patch level of the file, if any.
- Size (bytes)
- The size of the file in bytes.
- Checksum
- The checksum for the file. Checksum is calculated using the UNIX® sum command. On AIX®, sum is used with the -o argument.
Comments
HCL Workload Automation file
information is contained in the version.info
file.
This file is placed in the TWS_home/version
directory
during installation. The version.info
file is in
a specific format and is not altered.
You can move the version.info
file
to another directory. However, you must then include the -f argument
to locate the file.
Examples
To display information about the release of HCL Workload Automation installed, run the following
command:
./version
A sample output of this command is:
IBM Workload Scheduler/VERSION 9.21 (C) Copyright IBM Corp 1998, 2013
IBM Workload Scheduler 9.2 UNIX
To display information about all files, run the
following command:
version/version -a -f version/version.info
To
display information about the file
customize
, run
the following command: cd version
./version customize
To display information about
the file
customize
, when version.info
is
in /apps/maestro
, run the following command: cd version
./version -f /apps/maestro/version.info customize