Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CONNECT command is used to connect to the remote database. You must do this before you can perform any activity on the database.

Syntax:

Command

Keyword

Value

Developer notes

CONNECT

DRIVER

value

Required. Database driver name.

DATABASE

value

Required. Database name.

USER

value

Required. Database server user login.

PASSWORD

value

Required. Database server user password.

Example

     CONNECT DRIVER(DB2) DATABASE(SALES) USER(user) PASSWORD(password)

...