Running Global Projects
Transaction Audit Trail
:
Following the Audit Trail
: As seen from the TROUCO
As seen from the TROUCO
Output commands may be created when input commands create their operations and possibly again when post operations are generated. These TROUCOs have ORILOC set to the current site, DESLOC the ultimate processing destination of the command and are sent to NXTARL, the next destination en route. The command type is the TRCNUM attribute.
If the current location is not the destination of the incoming TRINCO then a TROUCO is created to manage the progression of the command to its destination when all other (if any) operations and output commands on which it is dependent have completed. This TROUCO is a duplicate of the owning TRINCO and when it is passed on its ORILOC is that of its owning TRINCO.
TROUCOs store the progress of the communication of the command with the location to which it is sent (NXTARL) and the reply.
OUTSTA is the state of processing of a TROUCO. Its value is “Waiting” until the command is ready for processing. This may be delayed because of dependency on other operations or output commands. These dependencies are stored in DEPCOU, DEPEND and DEPTYP attributes ‑ the number of dependencies, the elements depended on, and whether it is on success or failure.
When all previous commands and operations on which the TROUCO is dependent have completed, and when the condition of the dependencies are met the TROUCO’s state changes to “Ready”. After this point the command is sent to its target location and its state is set to “Sent”. If the sending fails the TROUCO is “Stalled” and remains so until the time between retries (WAITIM) for that location is passed when it goes back to “Ready” again.
The receiving location must acknowledge the command (OUTSTA = “Acknowledged”. The acknowledgement is sent with the dbReference of the TRINCO at the receiving location that has been created to store the command. This is stored in the TROUCO’s CMREF attribute. For remote locations this will usually be an unknown reference since the specific transaction database is not visible. It can be used to track the command down the chain of locations if the administrator can see all the databases.
When a reply is received OUTSTA becomes “Replied”. Any reply data is stored under TRFLST and TRSLST elements and the TRPASS attribute and OUTSTA goes to “Processed”.
TROUCOs can terminate by timing out if they fail to send in the lifetime prescribed (“Timed Out”. They may never be sent if dependencies are not met, in which case they terminate as “Redundant”.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.