Using Built-In Global Variables In DB2 For i 7.2
May 14, 2014 Michael Sansoterra
The long awaited announcement of IBM i 7.2 comes with several enhancements to DB2 for i. In this tip, I’m going to explore the new set of built-in global variables that come with DB2 for i 7.2. If you’re unfamiliar with global variables, see New in DB2 for i 7.1: Use Global Variables to Track Environment Settings or the CREATE VARIABLE statement. The list of built-in global variables can be divided into three groups: Group 1: Client TCP/IP Info CLIENT_IPADDR VARCHAR(128) CLIENT_PORT INT As their names imply, these global variables return the IP address and port of the current client’s |