1.12 Process commands

Process commands communicate using the process name. This is useful for tasks, such as a one-time data synchronization or direct file extraction, that are set up as special runs by using the SPECIALRUN, SOUCEISFILE, or SOURCEISTABLE parameters. These processes do not require an Extract or Replicat group name and can be identified only by the process name.

1.12.1 SEND PROCESS

Use SEND PROCESS to communicate with a running process using the process name rather than the group name. Once the process is started you can:

  • Send commands recognized by the process

  • Send a WAKE or BREAK command

Syntax

SEND PROCESS process_name {text | WAKE | BREAK}
process_name

The process name in the format $identifier.

text

One of the subset of GGSCI commands that will be recognized by the process. If there is a response from the process it will be displayed by GGSCI.

WAKE

Sends the WAKE command to the process_name.

BREAK

Sends the BREAK command to the process_name.

Example

The following example sends the STATUS command to the running process $GG12.

SEND PROCESS $GG12 STATUS

GGSCI will display the response, such as the following process status:

CUSTOM: Current Status: Waiting for more audit (seqno 360, rba 1208741308)
Audit Trail position: Seqno 360, Rba 1208741308