Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Smart Device Manager


sdmioutils importdevice (importing smart device information)

This command imports smart device information using a CSV file.

Organization of this page

Functionality

This command imports smart device information using a CSV file.

Execute this command on the smart device manager.

Format

sdmioutils importdevice -import import-file-name[ -encoding character-encoding]

Arguments

-import import-file-name

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

-encoding character-encoding

Specify the character encoding of the file to be imported. If you do not specify this argument, the character encoding is set to UTF-8.

The following types of character encoding can be specified.

  • ISO-8859-1

  • UTF-8

  • UTF-16

Storage location

JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin

Execution permissions

Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)

Notes

Return values

Return value

Description

0

The command finished normally.

11

The format for specifying the command arguments is invalid. Alternatively, the length of the file name specified for the command argument exceeds the upper limit.

12

You do not have the permissions to execute this command.

13

The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid.

14

The file does not exist, or you do not have permission to access it.

15

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

18

Another command is being executed.

30

The database cannot be accessed.

40

Command execution was interrupted.

150

Other error occurred.

253

The service has not started.

Example

The following shows an example of using the command to import the smart device information defined in the CSV file C:\temp\smartdevice.csv.

sdmioutils importdevice -import C:\temp\smartdevice.csv -encoding UTF-8

Related Topics