Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/IT Desktop Management 2 Distribution Function Administration Guide


13.18.20 USER_PROGRAM_INSTALLATION_CONDITIONS (specifying external programs)

In the USER_PROGRAM_INSTALLATION_CONDITIONS tag, specify the external programs to be started on managed computers before and after package installation and when an installation error occurs. This tag is used for the dcmcoll, dcmpack, and dcmstsw commands.

The following table shows the parameters that can be specified, and their corresponding command arguments:

Parameter

Content

Command argument

external_program_executed_before_installation

External program to be started before installation

/b external-program-to-be-started-before-installation

external_program_executed_after_installation

External program to be started after installation

/a external-program-to-be-started-after-installation

external_program_error_handler

External program to be started at installation error

/e external-program-to-be-started-at-installation-error

external_program_handler

External program to be started

/ep external-program-to-be-started

exit

How to report the processing result of external program

/rbR, /rbM, /raR, /raM, /reR, /reM

action

Action to take when processing result is error

/ybC, /ybS, /yaC, /yaS

wait

Monitoring method

/wbU, /wbT, /wbG, /waU, /waT, /waG, /weU, /weY

timeout

  • Monitoring time

  • Maximum execution period (for the dcmstsw command)

  • /n monitoring-time

  • /wt maximum-execution-period (for the dcmstsw command)

wait_code

Monitoring code

/wc monitoring-code

Specify the programs that do not have a GUI as the external programs to be started. Even when a program having a GUI is started, the program will not display any window or dialog box.

Also, do not specify a 16-bit application program as an external program to be started. If an attempt is made to remotely install a package (for which a 16-bit application program is specified as an external program to be started) in background installation mode on a Windows computer, the Windows computer will hang up.

Organization of this subsection

(1) Format

USER_PROGRAM_INSTALLATION_CONDITIONS{
{
external_program_executed_before_installation=
external-program-to-be-started-before-installation
exit=how-to-report-the-processing-result-of-external-program
action=action-to-take-when-processing-result-is-error
wait=monitoring-method (U, T, or G)
}
{
external_program_executed_after_installation=
external-program-to-be-started-after-installation
exit=how-to-report-the-processing-result-of-external-program
action=action-to-take-when-processing-result-is-error
wait=monitoring-method (U, T, or G)
}
{
external_program_error_handler=
external-program-to-be-started-at-installation-error
exit=how-to-report-the-processing-result-of-external-program
wait=monitoring-method (U or Y)
timeout=monitoring-time
}
{
external_program_handler=
external-program-to-be-started
timeout=maximum-execution-period
wait_code=monitoring-code
}
}

(2) Description

(3) Notes