PrepAway - Latest Free Exam Questions & Answers

Which of the following commands is required to make this database accessible to a Linux client?

A database named TEST_DB resides on a z/OS system and listens on port 446. The TCP/IP
address for this system is 192.168.10.20 and the TCP/IP host name is MYHOST. Which of the
following commands is required to make this database accessible to a Linux client?

PrepAway - Latest Free Exam Questions & Answers

A.
CATALOG TCPIP NODEzos_srvr REMOTE myhost SERVER 192.168.10.20;
CATALOG DATABASE zos_db AS test_db AT NODE zos_srvr;
CATALOG DCS DATABASE zos_db AS test_db;

B.
CATALOG TCPIP NODEzos_srvr REMOTE myhost SERVER 192.168.10.20;
CATALOG DCS DATABASE zos_db AS test_db AT NODE zos_srvr;

C.
CATALOG TCPIP NODEzos_srvr REMOTE myhost SERVER 446;
CATALOG DCS DATABASE zos_db AS test_db AT NODE zos_srvr;

D.
CATALOG TCPIP NODEzos_srvr REMOTE myhost SERVER 446;
CATALOG DATABASE zos_db AS test_db AT NODE zos_srvr;
CATALOG DCS DATABASE zos_db AS test_db;

3 Comments on “Which of the following commands is required to make this database accessible to a Linux client?

  1. swamy says:

    CATALOG DATABASE command
    Stores database location information in the system database directory. The database can be located either on the local workstation or on a remote database partition server.

    Catalog the remote TCP/IP node using this command at the DB2 prompt:
    catalog tcpip node MYNODE remote MYHOST server XXXX
    where MYNODE is the node name, MYHOST is the host name or IP address of the data server, and XXXX is the data server port number.




    0



    0
  2. ra says:

    D is wrong.
    You might also use the CATALOG DATABASE command to explicitly catalog a database in the system database directory file.
    CATALOG DCS DATABASE command – Stores information about remote host or System i® databases in the Database Connection Services (DCS) directory




    0



    0
  3. kw says:

    CATALOG

    Stores database location information in the system database directory. The database can be located either on the local workstation or on a remote database partition server. The CATALOG DATABASE command can also be used to recatalog uncataloged databases, or maintain multiple aliases for one database, regardless of database location




    0



    0

Leave a Reply