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

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

4.8 dcmgpmnt.exe (applying policies to all hosts)

This section explains the dcmgpmnt command, which applies policies to all hosts. You can execute this command on the managing server of JP1/Software Distribution Manager. A parameter file is not used with this command.

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

(1) Function

This command connects to the managing server (JP1/Software Distribution Manager) on the local computer and assigns the registered hosts to host groups in a single operation, according to the created policies.

(2) Format

dcmgpmnt.exe [processing-key] [/LC {ON|OFF}]

(3) Argument

(4) Return codes

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

Code Meaning Action
0 Normal termination or no applicable hosts. None.
2 Invalid value in command argument. Check the values in the command argument.
3 Error during connection to managing server. Check the version of the managing server.
12 Other errors occurred. Check the event log.
15 Another process is updating the database. Wait a while and then re-execute the command, or check the process that is updating the database.

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

(5) Example

The following is an example of applying the policies Group by IP address and Group by user inventory items to the host groups.

dcmgpmnt.exe NETM_IPSCOPE NETM_USERINV