Keyed lists

All TPS procedures are invoked with a standard set of arguments. This table show the arguments that are passed in a keyed list:

Arguments Description
ARGS User-supplied arguments, one set for each process, are specified in the Args field of the TPS Properties dialog box.

Example:

If Args is specified as {client_id test}, then you can use this Tcl code to retrieve it:

 keylget args ARGS user_args
 keylget args ARGS.client_id client_id
 The value of ‘user_args’ is ‘{client_id stop_test}’
 The value of ‘client_id’ is ‘stop_test’
CONTEXT

The specific UPoC from which this procedure was called.

MODE The binary mode.
  • start is the initial invocation at engine start-up.
  • run is the normal invocation at run time.
  • time is timer-based processing. Used only in UPoC read TPS, HTTP time driven query, and batching time-mode TPS.
  • shutdown runs when a thread is shut down, except in a panic.
MSGID Message handle associated with the data to be processed.