17.2.2.1.2 CATALOG DCS DATABASE
This command stores information about remote host (z/OS or OS/390) or iSeries (OS/400) databases in the Database Connection Services (DCS) directory. These databases are accessed through an Application Requester (AR), such as DB2 Connect. Having a DCS directory entry with a database name matching a database name in the system database directory invokes the specified AR to forward SQL requests to the remote server where the database resides.
Note:
If you just need access the data residing on universal system, such as UNIX, Linux, you could useCATALOG DATABASE
only.
The CATALOG DCS DATABASE
command syntax is as follows:
catalog dcs database [ Database-name ]
as [ Target-database-name ]
with [comment-string ]
Example:
db2 catalog dcs database db2wasa as qwa1 with "catalog the remote
host database qwa1 to local db2wasa"
CATALOG DCS DATABASE
takes the following
parameters:
Parent topic: DB2 CATALOG