Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


6.2.12 Sending a signal (signal command)

The signal command sends a signal to the job definition script. The abbreviation for the signal command is si. The following shows the format of the signal command:

signal {signal-name|signal-number}

When a signal name or a signal number is specified in the argument, the signal command sends the corresponding signal and then executes the job definition script continuously. You use the info signals command to display information about the signals that can be specified in the argument. For details about the processing when a signal is received, see 3.10.2 Processing when signals are received (UNIX only).

The following describes the signal command's processing.

When the signal command argument is specified

When the signal command is executed while the job definition script is running, the following occurs:

Signal number or signal name

The command outputs a message indicating that the specified signal will be sent, sends the specified signal to the job definition script, and then executes the job definition script continuously.

If the specified signal does not exist or the job definition script is not running, the command outputs an error message.

When the signal command argument is omitted

When the signal command is executed while the running job definition script is stopped, an error message is output.

The command also outputs an error message if the job definition script is not running.

Notes:
  • A signal number that is specified in the argument must be 0 or a greater integer. Do not specify a plus sign (+) at the beginning.

  • If the specified number is outside the permitted value range for the int type, the command rounds it up to the maximum value for the int type.

  • To send any of the following signals in AIX, specify the signal number or another signal name with the same signal number:

    To send SIGLOST or SIGIOT: Specify signal number 6 or SIGABRT.

    To send SIGPOLL: Specify signal number 23 or SIGIO.

  • To send any of the following signals in HP-UX, specify the signal number or another signal name with the same signal number:

    To send SIGIOT: Specify signal number 6 or SIGABRT.

    To send SIGPOLL: Specify signal number 22 or SIGIO.

  • To send any of the following signals in Solaris, specify the signal number or another signal name with the same signal number:

    To send SIGIOT: Specify signal number 6 or SIGABRT.

    To send SIGPOLL: Specify signal number 22 or SIGIO.