Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/IT Desktop Management Administration Guide


17.4  ioutils exportasset (Exporting hardware asset information)

Functionality

This command exports hardware asset information to a CSV file.

For asset items displayed in a dash ("-") in the Asset module, a null value is exported. Using null values lets you avoid causing errors if the exported data is imported back without any modification. A file is exported even when no information items are available to export.

Execute this command on the following servers:

Format

ioutils exportasset -export export-file-name [ -filter filter-name][ -encoding character-encoding][ -s]

Arguments

-export export-file-name

Specify the absolute path (within 259 bytes) of the CSV file to export.

-filter filter-name

To export hardware asset information using a filter, select a filter name that is displayed in menu area in the operation window.

-encoding character-encoding

Specify a character code for hardware assert information to export. The following types of character codes can be specified. When you do not specify this argument, the character code is set to UTF-8.

  • US-ASCII

  • ISO-8859-1

  • UTF-8

  • UTF-8N

  • UTF-16

  • UTF-16LE

  • UTF-16BE

  • MS932

  • Shift-JIS

  • EUC-JP

  • JIS

-s

Overwrites the file even if a file with the same file name already exists at the export destination. If this argument is not specified and a file with the same file name already exists, an overwrite confirmation message appears. In this case, the system cancels the output or overwrites the file according to the administrator's reply.

Storage location

JP1/IT Desktop Management-installation-folder\mgr\bin\

You can execute this command without specifying storage location for the executable file, by using the command prompt provided by JP1/IT Desktop Management.

Notes

Return values

The following table shows the return values of the ioutils exportasset command.

Return value

Description

0

The command finished normally.

11

The specified format for the argument is incorrect.

12

The specified folder is invalid, the disk does not have sufficient capacity, or the folder does not exist.

15

A file access error occurred when outputting the file, or the disk does not have sufficient capacity.

31

Another command is being executed.

51

You do not have the permissions to execute this command.

54

The management server or database server has not been set up.

70

The specified filter does not exist.

101

Command execution failed because there is not enough memory, or due to some other.

120

A database access error occurred.

150

The command execution was interrupted due to some other error.

Example

The following example shows use of this command to export hardware asset information to C:\temp\hardwareexpo.csv.

ioutils exportasset -export C:\temp\hardwareexpo.csv -encoding UTF-8 -s

Related Topics: