Special registers with DB2 Multisystem

For DB2® Multisystem, all instances of special registers are resolved on the coordinator node before sending the query to the remote nodes. (A coordinator node is the system on which the query was initiated.) This way, all nodes run the query with consistent special register values.

The following rules are about special registers:

  • CURRENT SERVER always returns the relational database name of the coordinator node.
  • The USER special register returns the user profile that is running the job on the coordinator node.
  • CURRENT DATE, CURRENT TIME, and CURRENT TIMESTAMP are from the time-of-day clock at the coordinator node.
  • CURRENT TIMEZONE is the value of the system value QUTCOFFSET at the coordinator node.