CL Command Reference - CHGRDBDIRE

CL Command List > CHGRDBDIRE Reference

Description:

The Change Relational Database Directory Entry (CHGRDBDIRE) command allows you to change an entry in the relational database (RDB) directory. Values for any of the RDB¡¯s parameters, except its name, can be changed.

Note: Changes to an entry do not affect any connections that are using the RDB directory when the change is made. Changes take effect the next time a CONNECT operation is performed.

Restriction: You must have execute authority to the application requester driver program to specify the program on this command.


Examples:

Example 1: Changing an Entry for *SNA type

CHGRDBDIRE RDB(YOURRDB) RMTLOCNAME(NEWARK)

This command changes a directory entry to use Newark as the new remote location name to access YOURRDB.



Example 2: Changing an Entry for *IP type

CHGRDBDIRE RDB(MYRDB) RMTLOCNAME(ROCHESTER.XYZ.COM *IP)

This command changes a directory entry to use an internet protocol domain name to access MYRDB. The second element of RMTLOCNAME indicates that TCP/IP is to be used for connections.