LOCATIONS catalog table
The LOCATIONS catalog table contains a row for every accessible remote server. The schema is SYSIBM. The row associates a LOCATION name with the TCP/IP or SNA network attributes for the remote server. Requesters are not defined in this table.
Rows in this table can be inserted, updated, and deleted.
Column name | Data type | Description | Use |
---|---|---|---|
LOCATION | VARCHAR(128)
NOT NULL |
A unique location name for the accessible server. This is the name by which the remote server is known to local Db2 SQL applications. | G |
LINKNAME | VARCHAR(24)
NOT NULL |
Identifies the VTAM® or TCP/IP attributes
associated with this location. For any LINKNAME specified, one or both of the following statements
must be true:
For accelerators that are defined with an alias (logical name), specify a LINKNAME value of DSNACCELERATORALIAS. |
G |
IBMREQD | CHAR(1)
NOT NULL WITH DEFAULT 'N' |
A value of Y indicates that the row was provided with the Db2 product code. For all other values, see Release dependency indicators. The value in this field is not a reliable indicator of release dependencies. |
G |
PORT | VARCHAR(96)
NOT NULL WITH DEFAULT |
TCP/IP is used for outbound DRDA connections when the following statement
is true:
If the above mentioned row is found, the value of the PORT column is interpreted as follows:
|
G |
TPN | VARCHAR(192)
NOT NULL WITH DEFAULT |
Used only when the local Db2 begins an SNA conversation with another server.
When used, TPN indicates the SNA LU 6.2 transaction program name (TPN)
that will allocate the conversation. A length of zero for the column
indicates the default TPN. For DRDA conversations,
this is the DRDA default, which
is X'07F6C4C2'. For Db2 private
protocol conversations, this column is not used. When the server is Db2 Server for VSE & VM, TPN should contain the resource ID of that machine. |
G |
DBALIAS | VARCHAR(128)
NOT NULL |
Database alias. The name associated with the server. This name is used to access
a remote database server. If DBALIAS is blank, the location name is used to access the remote
database server. This column does not change the name of any database objects sent to the remote
site that contains the location
qualifier. This column applies only to DRDA connections. For information about accelerators that are defined with an alias, see Using an alias for an accelerator. |
G |
TRUSTED | CHAR(1)
NOT NULL WITH DEFAULT 'N' |
Indicates whether the connection to the remote
server can be trusted. This is restricted to TCP/IP only. This column
is ignored for connections using SNA.
|
G |
SECURE | CHAR(1)
NOT NULL WITH DEFAULT 'N' |
Indicates the use of the Secure Socket Layer (SSL)
protocol for outbound DRDA connections
when local Db2 applications
connects to the remote database server using TCP/IP.
|
G |