OPCA Keyword
Besides specifying the command to be issued in response to the request, you must also tell TWS Automation:
- The status you expect the subsystem to assume as a result of this command
- The time interval within which the subsystem must assume this status
This is done with the OPCA keyword. The following panel continues the example of Figure 1.
Code 1 Code 2 Code 3 Value Returned
START UP,2,RMFUTMER
OPMSG UP,1,
STOP DOWN,2,
Here, the request is specified in the Code 1 column. The Value Returned column contains the expected status, the time interval (in minutes), and optionally a timer name. The Code 2 and Code 3 columns are intended for eventual request parameters and consequently left blank in this example.