Job Management Partner 1/Software Distribution Administrator's Guide Volume 2

[Contents][Glossary][Index][Back][Next]

4.24 dcmuidi.exe (batch input of user inventories)

This section explains the dcmuidi command, which inputs multiple user inventory items to the managing server from a CSV-formatted file. You can execute this command on the managing server for JP1/Software Distribution Manager. A parameter file is not used with this command.

Organization of this section
(1) Function
(2) Format
(3) Arguments
(4) Return codes
(5) Notes
(6) Example

(1) Function

This command connects to the managing server on the local computer and inputs multiple user inventories created in a CSV-formatted file in a single operation.

To create the user inventories, prepare a CSV-formatted file based on the user inventory information template, using the CSV output utility or dcmcsvu command. The file format is the same as the user inventory information template.

An example of a prepared CSV file is shown as follows:

[Figure]

When you execute the dcmuidi command, the entries in the file are checked against existing user inventories in the managing server, using either the host name, IP address or host ID, according to whichever is used as the ID key for operations. If user inventories already exist on the managing server for a particular host, the new information from that host is entered.

This means that you cannot enter new user inventories for a host that is not already registered in the system configuration of the managing server.

(2) Format

dcmuidi.exe /if CSV-formatted-input-file [/LC {ON|OFF}]

(3) Arguments

(4) Return codes

The following explains the return codes that the dcmuidi command may return:

Code Meaning Action
0 Normal termination. No matching host exists, or there were no changes to the user inventories. None.
2 Invalid value in command argument. Check the value in the command argument.
3 Error during connection or access to managing server. Check that the managing server and database server are running and that all settings are correct.
4 Open error occurred in the CSV-formatted input file. Check the file path.
12 Other errors occurred. Check the event log.
Possible causes include a system error, invalid data in the CSV file, or a processing denied error.

If JP1/Base is linked to manage JP1/Software Distribution users, see 1.3.3 Setting for executing commands.

(5) Notes

Note the following points when inputting user inventories from a CSV-formatted file using the dcmuidi command:

(6) Example

The following is an example of the command specified when the CSV-formatted input file resides in the C:\temp folder:

dcmuidi.exe /if C:\temp\dcmuidi.csv