DISPLAY PROCESS CHAIN STATUS - USAP Command

Description

The DISPLAY PROCESS CHAIN STATUS command displays the current status of the process chain. The exit code will reflect the status.

Note

This command requires the SAP system to calculate the status of each process within the process chain. For complex chains, the command can put load on the system if called with high frequency.

Command Line Syntax

The following figure illustrates the command line syntax of the DISPLAY PROCESS CHAIN STATUS command, using the command line, long form of its configuration options.

-display status

-chainid

chainid [

-logid

logid]

Command Argument

The DISPLAY PROCESS CHAIN STATUS command can be expressed as either:

  • -D (Short form)
  • -display (Long form)

The DISPLAY PROCESS CHAIN STATUS command argument, status, requests the display of the current status of the process chain.

Configuration Options

The following table describes all DISPLAY PROCESS CHAIN STATUS configuration options and provides the command line, long form of each option illustrated in the DISPLAY PROCESS CHAIN STATUS command line syntax, above.

Configuration
Option Name

Command Line
Long Form

Description

CHAIN_ID

-chainid

ID of process chain whose status is to be displayed.

LOG_ID

-logid

Log ID of process chain instance whose status is to be displayed.

Output

  • stdout: Statement indicating the status of the process chain.
  • stderr: UNV messages.

Exit Codes

Use exit code mappings:

  • 'R' - Red: pcredec.
  • 'G' - Green: pcgreenec.
  • 'X' - Aborted: pcabortedec.
  • 'A' - Active: pcactiveec.