Job Management Partner 1/Software Distribution Administrator's Guide Volume 2
This section explains the dcmjbrm command, which deletes jobs. You can use this command in the managing server system for JP1/Software Distribution Manager and JP1/Software Distribution Client (relay system).
This command specifies an executed job in a parameter file and deletes it from the managing server.
dcmjbrm.exe /i parameter-file-name [/LC {ON|OFF}]
The table below shows the contents of the parameter file for the dcmjbrm command. The contents of the parameter file used in this command cannot be specified by using a command argument.
Table 4-12 Contents of the parameter file (dcmjbrm command)
Parameter file specification contents | Description | Specification | Command argument | |
---|---|---|---|---|
Tag | Parameter | |||
JOB_ATTRIBUTE | job_generator | Job name | X | -- |
jobno | Job number | R | -- | |
job_folder | Job folder path | X | -- | |
unsuspended | Whether a distribution being suspended exists | X | -- |
The following explains the return codes that the dcmjbrm command may return:
Code | Meaning | Action |
---|---|---|
0 | Either job was deleted or specified job is not found. | None. |
1 | Unable to open parameter file. Invalid file format. | Check the parameter file specification or coding format. |
2 | Invalid value in command argument or parameter file. | Check the values in the parameter file. |
3 | Error during connection to managing server. | Check the version of the managing server. |
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.
The following is an example of deleting the invoice-file-0001-collection job that was executed in the dcmjexe command.
In the parameter file, specify the job number that was output to the output file for the dcmjexe command as follows:
If the output file for the dcmjexe command has been saved, you can specify that file as a parameter file.
** dcmjexe output->dcmjbrm input JOB_ATTRIBUTE{ job_generator= invoice-file-0001-collection jobno= JB03121113315383 job_folder= \batch-definition }
If the output file for the dcmjexe command has been saved in C:\Dmbat\out.txt, code the command as follows:
dcmjbrm.exe /i C:\Dmbat\out.txt
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.