Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


14.17 dcmsusp.exe (suspending and resuming file transfer)

This section describes the dcmsusp command, which suspends or resumes file transfer.

Function

This command connects to the managing server on the local host, and suspends or resumes file transfers between a specified relay system or management relay server and the systems directly under them. This command suspends or resumes also the file transfer between the connected managing server and the lower systems directly connected to the relay system.

Format

dcmsusp.exe [processing-key] [/s] /i parameter-file-1 [parameter-file-2]
            [/o output-file-name]

Arguments

Correspondence between the specification contents of parameter file and command arguments

The contents of the parameter file available for this command can also be specified in command arguments. The following table shows the specification contents of the parameter file, and their corresponding command arguments.

Table 14‒15: Correspondence between parameter file contents and command arguments (dcmsusp command)

Specification content of parameter file

Content

Whether to specify

Command argument

Tag

Parameter

JOB_ATTRIBUTE

job_generator

Job name

Y/N#1

/j value

jobno

Job number

N

--

job_folder

Path name of job storage folder

Y/N

/l value

unsuspended

Whether to distribute during suspension

N

--

JOB_DESTINATION

group

Host group name

Y#2

/g value

host_name

Host name

Y#2

/h value

JOB_DESTINATION_ID

destination_id

ID name

Y#2

/X value

JOB_SCHEDULE

job_entry_date

Job registration date and time

Y/N

/jst value

job_execution_date

Job execution date and time

Y/N

/jsx value

job_expiration_date

Job expiration date

Y/N

/jsp value

Legend:

Y: The parameter must be specified.

Y/N: The parameter can be omitted.

N: The parameter is not necessary (is ignored even when specified).

--: The content cannot be specified by using a command argument.

#1

When the job_generator parameter (or the argument /j) is omitted, "processing key and job execution date and time" is automatically set as the job name. Therefore, if multiple commands with the same processing key are executed concurrently, their job names might be duplicated, and their jobs might not be executed correctly. We recommend that, when executing multiple commands with the same processing key concurrently, you specify different job names for the commands by using job_generator (or /j).

#2

You cannot specify the JOB_DESTINATION tag together with the JOB_DESTINATION_ID tag. Also, you cannot specify /g and /h together with /X. You must specify only either JOB_DESTINATION or JOB_DESTINATION_ID, or either /g and /h or /X. You can specify either the group parameter (/g) or host_name parameter (/h), or both.

Return codes

The following table lists the return codes that are output when the dcmsusp command is executed:

Code

Meaning

Action to be taken

0

The managing server started the job, or changed its own suspended status.

None

1

The parameter file cannot be opened, or the file format is incorrect.

Check the specification of the parameter file or its description format.

2

An invalid value is set in a command argument or the parameter file.

Check the values specified in command arguments and the parameter file.

3

Connection to the database failed.

Check database settings in the setup of the managing server.

4

The output file cannot be opened.

Check the specification of the output file.

5

Connection to the JP1/IT Desktop Management 2 service failed.

Check whether the service of JP1/IT Desktop Management 2 - Manager has started.

12

Restoration of one or more archive files failed.

Reference the event log.

Possible causes are a system error, a syntax error in a command argument, or rejection of processing because of specification (in the parameter file) of a value not defined in the connection-destination managing server.

Notes

When you specify the host_name parameter under the JOB_DESTINATION tag or the argument /h, note the following:

Note the following point when you specify the job_folder parameter under the JOB_ATTRIBUTE tag or the argument /1.

When you execute a command, do not specify the same destination more than once. It will execute the same jobs at a destination for multiple times.