Administrator Command
Reference Manual
Transaction Database
: TRINCO Element (Input Command)
TRINCO Element (Input Command)
The TRINCO element stores the information about an input command issued to the daemon from a user, or another location’s daemon. The information includes the state of processing of the command and is sufficient for the command to be restarted when a daemon is restarted, and is sufficient to generate the operations and output commands necessary to execute the command.
Note:
Local commands added from AVEVA E3D™, that is those with TRLOCL True, do not contain successes, failures or messages.
Attributes
NAME
text
Not automatically generated
TRCNUM
int
Command number
INCSTA
int
The state of processing of the TRINCO
COMUID
ref
This is the reference of the command that sent this command to the daemon. For commands sent by this or other daemons it is the ref of the TROUCO element at the relevant location. For commands originating from AVEVA E3D™ it will be set to null.
TRMODU
int
Module number through with the USER has issued this command, or GLOBALDAEMON module
TRLOCL
log
True if command stored directly by AVEVA E3D™ independent of the Daemon
COMSTR
text
Command string USER entered that generate this command, else null
ORILOC[3]
text
Original Location where user issued the command
DESLOC3]
text
Ultimate target ‑ destination location where command will be executed. For some commands this is the destination of subsidiary commands to be sent, not this command itself.
PRVLOC[3]
text
Previous Location which passed the command on to this location (normally the same as the TRLOC element)
AUXLOC[3]
text
Auxiliary location. Often used as a location to send auxiliary commands
SYSLOC[3]
text
Location of administrator when being remotely administered, else NULL
DEPCOU
int
number of other TRINCOs on which this is dependent (always zero)
DEPEND[*]
ref
References of TRINCOs on which it is dependent, (always none)
DEPTYP[*]
log
Type of dependencies - on success or failure
DATECR
date
Date command received and recreated
DATEAK
date
Date sent acknowledgement for command
NACKN
int
Number of times acknowledgement sent
EXTIME[4]
text
Time to execute command (hence allows a delay) ‑
DATERD
date
Date command made ready (after EXTIME has been reached)
DATECM
date
Date command completed
DATERP
date
Date reply sent with results of command
NREPLY
int
Number of times reply sent
MSTEXT
text
text info set on completion (normally only if failed to generate operations)
TRPASS
log
True if command succeeded, false if failed. The command fails if any of its operations fail, or if it fails to generate operations
DATEND
date
Date all processing of command finished ‑ acknowledgement of command received, or command cancelled.
NREPAK
int
Number of times reply acknowledgement received
USERST
text
user cancelling the command
TRDBRF
ref
of Database DB element
TRFINO
int
file number of DB element
TREXTN
int
extract number of DB element
TRAREA
int
area number of DB element
TRSTYP
int
filetype of DB element
TRDBNO
int
dbnumber of DB element
TRDACC
int
access type of DB element
INARCO
int
argument count for intargs (args of the command) (defaulted to zero.)
INTARG[*]
int
Command arguments (passed around as a Conformant array)
TRCARG[*]
text
Command argument qualifiers space separated. e.g. ‘NAME=X/Y’
TRVISI
log
Visible or not
DESC[256]
text
User description
Values of INCSTA State Attribute and Order of Change
RECEIVED
The command has been received ready for processing. DATECR is set.
ACKNOWLEDGED
An acknowledgement has been sent off by this daemon. DATEAK is set and NACKN incremented.
STALLED
The command has failed to create its operations and state will later return to ACKNOWLEDGED ready for retry, or to TIMEDOUT.
READY
The command has reached its execute time and is independent. DATERD is set.
COMPLETE
The command has been processed, and results obtained. DATECM is set.
REPLIED
The daemon has sent the results back to the originating location. DATERP is set and NREPLY incremented.
PROCESSED
An acknowledgement for the result received from originating location. DATEND is set and NREPAK incremented.
REDUNDANT
The command will not be executed now due to dependency rules. DATEND is set.
CANCELLED
The command has been cancelled and finished with TRPASS false. DATEND is set.
TIMEDOUT
The command has timed out before creating its operations and finished with TRPASS false. DATEND is set.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.