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

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

4.17 dcmpkrm.exe (deleting a package)

This section explains the dcmpkrm command, which deletes a package. You can execute this command on the managing server for JP1/Software Distribution Manager and JP1/Software Distribution Client (relay system).

Organization of this section
(1) Function
(2) Format
(3) Arguments
(4) Parameters in a parameter file
(5) Return codes

(1) Function

Deletes a package from a cabinet for the managing server.

(2) Format

dcmpkrm.exe /i parameter-file-name [/LC {ON|OFF}]

(3) Arguments

(4) Parameters in a parameter file

The table below shows the contents of the parameter file for the dcmpkrm command. The contents of the parameter file used in this command cannot be specified by using command arguments.

Table 4-16 Contents of the parameter file (dcmpkrm command)

Parameter file specification contents Description Specification Command argument
Tag Parameter
PACKAGING_INFORMATION package_name Package name X --
package_id Package ID R --
version_revision Version/revision R --
generation Generation R --
cabinet_name Cabinet name X --
cabinet_id Cabinet ID R --
package_code Package code R --

Legend:
R: required.
X: not required (ignored if specified).
--: Cannot be specified in a command argument.

Note
In this command, a reserved word cannot be used as a parameter for the PACKAGING_INFORMATION tag.

(5) Return codes

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

Code Meaning Action
0 Normal termination. None.
1 No parameter file or invalid file format. Check the parameter file specification or coding format.
2 Invalid value in parameter file. Check the values in the parameter file.
3 Error during connection to managing server. Check the settings or communications environment for the PC on which the deletion of the package is executed.
5 Communication failure between client and managing server system. Check the communications settings in the setup for the managing server.
12 Other errors occurred. Check the event log.

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