OPCAPOST Command Processor

The OPCAPOST command processor calls EQQUSINT, which passes the completion code to the TWS Tracker in this system.

The TWS Tracker forwards the completion code to the system running the Controller through the mechanism used by OPC/ESA. Figure 1 shows the flow of this process.
Figure 1. OPCAPOST Command Processor
OPCAPOST Command Processor

Other functions use the OPCAPOST command. See OPCAPOST for documentation on the syntax.

This module completes the processing for this specific TWS operation. If the request executes successfully, TWS Automation sets the TWS operation status to C (completed) and normal TWS-dependency control allows the next operation to start. See the CPU_25 batch job in Figure 1. If the operation completes in error, TWS Automation sets an E status and a 4-character return code. The application does not continue processing until some intervention occurs. An operator or TWS Automation’s recovery can sometimes provide this intervention.