11.8 Exporting Data Streams

The DUMPGRAPH.VBS script exports data streams in comma-delimited format to a computer screen or text file.

The following is an example of the syntax for exporting data to the screen:

c:\Program Files\NetIQ\AppManager\bin\netiqcmd.exe dumpgraph.vbs
/server=srv1 /database=qdb1 /graphid=5

The following is an example of the syntax for exporting data to a file:

c:\Program Files\NetIQ\AppManager\bin\netiqcmd.exe dumpgraph.vbs 
/user=miles /password=pwd /server=srv1 /database=qdb /graphid=5 > output.txt

This script uses the following command-line arguments:

Parameter

Description

/USER

Username of the SQL Server login account used to access the AppManager repository. Not required if using Windows authentication.

/PASSWORD

Password for the SQL Server login account. Not required if using Windows authentication.

/SERVER

Windows name of the server where the AppManager repository you want to work with is installed.

The default is the name of the local computer.

Not required if using the default.

/DATABASE

Name of the AppManager repository you want to work with.

The default AppManager repository name is QDB.

Not required if using the default.

/DEBUGGING

Flag to turn on debugging. If set to TRUE, the script displays descriptive information about any SQL errors that occur in a message box.

The default is FALSE. Not required if using the default.

/GRAPHID

Identifier for the existing graph data stream you want to output. This parameter is required. For example:

/graphiid=20

/SHOWUTC

Flag to control date formatting. If set to TRUE, date/time fields are displayed in Coordinated Universal Time (UTC) format. If set to FALSE, date/time fields are converted to a mm/dd/yy hh:mm:ss format. This parameter is not required.