DB2 Universal Database V8.1 Certification Exam 700 Study Guide
Aside from the fact that neither the Control Center nor the Configuration Assistant can be used, the process used to catalog a Database Connection Services (DCS) database is very similar to the process used to catalog a regular DB2 UDB database. A DCS database is cataloged by executing the CATALOG DCS DATABASE command. The syntax for this command is: CATALOG DCS [DATABASE DB] [ Alias ] <AS [ TargetName ]> <AR [ LibraryName ]> <PARMS [ ParameterString ]> <WITH "[ Description ]"> where:
So, if you wanted to catalog a DCS database that has the name TEST_DB and is a DB2 for z/OS database, you could do so by executing a CATALOG DCS DATABASE command that is similar to this: CATALOG DCS DATABASE TEST_DB AS DSN_DB WITH "DB2 z/OS database" Keep in mind that an entry for the database TEST_DB would also have to exist in the system database directory before the entry this command creates in the DCS database directory could be used to connect to the z/OS database. Entries in the DCS database directory can be removed by executing the UNCATALOG DCS DATABASE command. The syntax for this command is: UNCATALOG [DATABASE DB] [ DatabaseAlias ] where:
Thus, if you wanted to uncatalog the DCS database cataloged in the previous example, you could do so by executing an UNCATALOG DCS DATABASE command that looks like this: UNCATALOG DCS DATABASE TEST_DB |