Using Db2-identifiers with the CONNECT command


A Db2-identifier is a value that specifies an attachment or connection listed on the connections table. If you know the Db2-identifier that identifies the connection that you want to establish, you can establish the connection and bypass the Change Access panel.

The following types of Db2-identifiers are available:

  • SSID, a Db2 subsystem for attachment
  • Server name, the location that is set up in Db2 for a server connection
  • Server alias, the location ID that is set up in Db2 for a server connection
  • Collection ID (if one has been created)
  • Collection ID nickname (if one has been created)
  • Nickname, a user-defined name that identifies an attachment or connection.

To use the CONNECT command

Enter the CONNECT command followed by the Db2-identifier on the Command line of the Primary Menu panel.For example, you can enter CONNECT DBDB-DBBF on the Command line of the Primary Menu panel to establish the designated connection. In this example, DBDB-DBBF would be the nickname assigned to the connection.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*