Using the GICMD tool
You can send commands to the gateway using the gateway interactive command (GICMD) tool. This tool is supplied as a separate patch, and complements the functionality of the gateway. GICMD allows you to use a set of command line options to change the properties of the gateway while it is running.
You can start the gateway interactive command tool (GICMD) using the nco_g_icmd command.
The tool is located in the following directory:
- $OMNIHOME/bin on UNIX and Linux operating systems
- %OMNIHOME%\bin on Windows operating systems
The following table describes the command line options for nco_g_icmd. You can also use any of these commands in the startup command file.
| Option | Description |
|---|---|
| -help | Use this command line option to display help information about the command line options. |
| -name string | Use this command line option to specify the name of the client application. This name defines the default name of the properties file that the command line tool attempts to load on when it starts. |
| -version | Use this command line option to display version information. |
| -hostname string | Use this command line option to display the hostname or IP address of the machine that is running the gateway to which you want to connect. |
| -username string | Use this command line option to display the IBM® Tivoli® Netcool/OMNIbus user name that is used to connect to the gateway. |
| -password string | Use this command line option to display the password of the user name with which you want to connect to the gateway. |
| -noheaders boolean | Use this command line option to specify whether the GICMD tool displays any headers when it runs and displays sets of results. |
| -propsfile string | Use this command line option to display the path to the properties file. |
| -cmdport integer | Use this command line option to display the port number that the gateway uses for its interactive command interface. |