Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RDB | Entry | Element list | Required, Key, Positional 1 |
Element 1: Relational database | Character value | ||
Element 2: Relational database alias | Character value, *NONE | ||
RMTLOCNAME | Remote location | Single values: *ARDPGM, *LOOPBACK Other values: Element list |
Optional, Positional 2 |
Element 1: Name or address | Character value, *LOCAL, *SAME | ||
Element 2: Type | *SNA, *IP, *SAME | ||
TEXT | Text | Character value, *BLANK, *SAME | Optional |
PORT | Port number or service program | Character value, *DRDA, *SAME | Optional |
RMTAUTMTH | Remote authentication method | Element list | Optional |
Element 1: Preferred method | *USRID, *USRIDPWD, *ENCRYPTED, *KERBEROS, *SAME | ||
Element 2: Allow lower authentication | *ALWLOWER, *NOALWLOWER, *SAME | ||
DEV | Device | Element list | Optional |
Element 1: APPC device description | Name, *LOC, *SAME | ||
LCLLOCNAME | Local location | Communications name, *LOC, *NETATR, *SAME | Optional |
RMTNETID | Remote network identifier | Communications name, *LOC, *NETATR, *NONE, *SAME | Optional |
MODE | Mode | Communications name, *NETATR, *SAME | Optional |
TNSPGM | Transaction program | Character value, *DRDA, *SAME | Optional |
ARDPGM | Application requester driver | Single values: *DRDA, *SAME Other values: Element list |
Optional |
Element 1: Program | Qualified object name | ||
Qualifier 1: Program | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies the relational database name information.
Note: Valid relational database names and aliases must begin with a letter and consist of uppercase A-Z, 0-9, and underscore.
Element 1: Relational database
Specifies the relational database name as identified on the remote location. You can specify a maximum of 18 characters for the name. MVS relational databases allow a maximum of 16 characters.
Element 2: Relational database alias
Specifies the relational database alias. The alias is used for locally identifing the relational database specified above. You can specify a maximum of 18 characters for the alias.
Top |
Specifies the remote location name of the system on which the RDB is located.
The possible values are:
Note: If *LOCAL is specified, the DEV, LCLLOCNAME, RMTNETID, MODE, TNSPGM and ARDPGM parameters are ignored, and the value of the second element is forced to *IP.
Note: If *LOOPBACK is specified, the DEV, LCLLOCNAME, RMTNETID, MODE, TNSPGM and ARDPGM parameters are ignored, and the value of the second element is forced to *IP.
Note: If *ARDPGM is specified, the PORT, DEV, LCLLOCNAME, RMTNETID, MODE, and TNSPGM parameters need not be specified, and if they are specified, they are ignored.
If *IP is specified for the second element, the DRDA application server at the remote location must support the use of TCP/IP, and the DEV, LCLLOCNAME, RMTNETID, MODE, and TNSPGM parameters will be ignored.
If *IP is not specified, the application server must support SNA connectivity. More information about SNA remote location names can be found in the APPC Programming book, SC41-5443 and the APPN Support information in the iSeries Information Center at http://www.iseries.ibm.com/infocenter.
Top |
Specifies the text that briefly describes the object.
The possible values are:
Top |
Specifies the TCP/IP port that is used at the remote location to communicate with the system on which the RDB is located. This parameter will be ignored if *IP is not specified in the RMTLOCNAME parameter.
The possible values are:
Top |
Specifies the preferred remote authentication method on a DDM/DRDA TCP/IP connection request. The actual method used depends on the outcome of the negotiation process between client and server, which depends on the cryptographic support available and the server security configuration. The CHGDDMTCPA (Change DDM TCP/IP Attributes) command can be used to configure DDM/DRDA TCP/IP security on iSeries servers. This parameter will be ignored if *IP is not specified in the Remote location (RMTLOCNAME parameter).
Element 1: Preferred method
Specifies the initial authentication method proposed to the server. Based on the authentication methods supported by the server and the value specified for the Allow lower authentication element of this parameter, an authentication method is negotiated that is acceptable to both the Application Requester and Application Server systems.
Possible values are:
Element 2: Allow lower authentication
Specifies whether an authentication method lower than what was specified for the Preferred method element of this parameter will be accepted during negotiation with the Application Server system. If the Application Server system is configured to require a higher authentication method than the value specified for the Preferred method element of this parameter and the Application Requester system can support a higher authentication method, the negotiated authentication method can always be higher than the Preferred method. From highest to lowest, the authentication methods are:
Possible values are:
Top |
Specifies the name of the advanced program-to-program communications (APPC) device description on this system that is used with this RDB entry.
More information is in the APPC Programming book, SC41-5443, and the APPN Support information in the iSeries Information Center at http://www.iseries.ibm.com/infocenter.
The possible values are:
Top |
Specifies the local location name by which this system is identified to the system on which the RDB is located. The local location name cannot be the same as the remote location name.
More information on local location names is in the APPC Programming book, SC41-5443.
The possible values are:
Top |
Specifies the remote network identifier of the system on which the RDB is located. If this parameter is specified, the RMTLOCNAME parameter must be consistent with this RMTNETID parameter. If the RMTLOCNAME parameter specified a network ID, this parameter must agree (otherwise, an error message will be issued). If the RMTLOCNAME parameter does not specify any network ID, there is no possibility of conflict with this parameter.
More information on remote network identifiers is in the APPC Programming book, SC41-5443.
The possible values are:
More information on remote network identifiers is in the APPC Programming book, SC41-5443.
Top |
Specifies the mode name to use with the remote location name to communicate with the system on which the RDB is located.
The possible values are:
More information on mode names is in the APPC Programming book, SC41-5443.
Top |
Specifies the name of the transaction program to use with the RDB entry.
The possible values are:
Note: If you are typing a hexadecimal value on a command prompt and the prompt is too small for the number of characters you want to type, type an ampersand (&) to expand the prompt to hold the necessary characters.
Top |
Specifies the qualified name of the application requester driver that is the program to be called to process SQL requests directed to the RDB. The program must exist and must be of the object type *PGM.
The possible values are:
The name of the program name can be qualified by one of the following library values:
Top |
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.
Top |
Top |