Top
Systemwalker Software Configuration Manager Developer's Guide
FUJITSU Software

7.4.1 Discovery Script

Synopsis

discover -dir <output dir> [-installpath installation location]

Description

Collects parameter information from the software and outputs it to a file.

Options

-dir

Specify the output directory for the parameter information XML file (parameterinfo.xml) and file attachments.

If the path contains spaces, enclose it in double quotation marks (").

-installpath

When the installation location is configured in the installed software, the installation location is specified. To include a blank space in the path, enclose it with double quotes ( " ). When the installation location is not configured in the installed software, this option is omitted.

Output format

"0" is returned if the script ends normally, and some other value is returned otherwise - error messages are sent either to the standard output or to the standard error output. The output is sent to the directory below, in the format below.

+ <output directory>
  + XML file with information about parameters collected (parameterinfo.xml)
  + File attachment with collected parameters (includes those that will be output and those that will not)

Notes

The directory which stores the command will be used as the current directory.

An error will occur if the directory does not exist, or if it exists and contains files or directories.