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

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

4.26.21 USER_PROGRAM_INSTALLATION_CONDITIONS (specifying an external program)

The USER_PROGRAM_INSTALLATION_CONDITIONS tag specifies the external program that is to be started before or after the installation or in the event of an installation error. This tag can be used in the dcmcoll, dcmpack, and dcmstsw commands.

The following shows the contents of specifiable parameters and the correspondence between parameters and command arguments:

Parameter Description Command argument
external_program_executed_before_installation#1 Before-installation external program /b external-program-executed-before-installation
external_program_executed_after_installation After-installation external program /a external-program-executed-after-installation
external_program_error_handler#2 Error-triggered external program /e external-program-error-handler
external_program_handler External program handler /ep external-program-handler
exit#2 Notification method for the results of an external program /rbR, /rbM, /raR, /raM, /reR, /reM
action#2 Disposition of processing error /ybC, /ybS, /yaC, /yaS
wait#2 Monitoring method /wbU, /wbT, /wbG, /waU, /waT, /waG, /weU, /weY
timeout
  • Monitoring time
  • Maximum execution time limit (dcmstsw command)

  • /n timeout
  • /wt maximum-execution-time limit (dcmstsw command)
wait_code Wait code /wc wait-code

#1
For a package distributed to UNIX clients, this parameter, when specified with the installation_date_and_time parameter of the SCHEDULE tag, is ignored.

#2
This parameter is ignored when specified for a UNIX client.

For the external program to be started, specify a program that does not have a GUI. Starting a GUI program does not cause the display of a GUI.

Be careful not to specify a 16-bit application as an external program. Remotely installing a package in the background installation mode on a Windows NT client and specifying a 16-bit application as an external program can cause the client to freeze.

Organization of this subsection
(1) Format
(2) Explanation
(3) Notes

(1) Format

USER_PROGRAM_INSTALLATION_CONDITIONS{
{
external_program_executed_before_installation=
external-program-executed-before-installation
exit=external-program-processing-results-notification-method
action=disposition-of-processing-error
wait=monitoring-method (U, T, or G)
}
{
external_program_executed_after_installation=
external-program-executed-after-installation
exit=external-program-processing-results-notification-method
action=disposition-of-processing-error
wait=monitoring-method (U, T, or G)
}
{
external_program_error_handler=
external-program-error-handler
exit=external-program-processing-results-notification-method
wait=monitoring-method (U or Y)
timeout=timeout
}
{
external_program_handler=
external-program-handler
timeout=maximum-execution-time-limit
wait_code=wait-code
}
}

(2) Explanation

(3) Notes

(a) Notes about starting an external program on a UNIX client

When using the dcmpack command to specify the startup of an external program for a package to be distributed to UNIX clients, note the following points:

When using the dcmcoll command to specify the startup of an external program for a UNIX client, observe the following notes:

If an error is made in a path specification method, both the packaging and the job can be executed, but the external program does not start on the distribution destination UNIX client. Note that in this case, the job terminates normally without generating an error.