Start of change

CLIENT_PORT

This global variable contains the port number used by the current client to communicate with the server.

This global variable has the following characteristics:
  • It is read-only, with values maintained by system.
  • The type is INTEGER.
  • The schema is SYSIBM.
  • The scope of this global variable is session.

If the client did not connect by using the TCP/IP protocol, the value of the global variable is NULL.

End of change