> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DB2 for i (Native)

CData Sync アプリケーションからDB2 for i コネクタを使用して、サポートされている任意のデータソースから同期先のDB2 for i へデータを移動できます。これを行うには、コネクタを追加し、コネクタへの認証を行い、接続を完了する必要があります。

> [!NOTE]
>
> This connector is available in Sync Self-Hosted deployments only.

## Prerequisites

Sync requires the jt400.jar driver ([download](https://repo1.maven.org/maven2/net/sf/jt400/jt400-jdk9/11.1/jt400-jdk9-11.1.jar)) to connect to your DB2 for i database.

Before you create your connection, download and copy the driver to your `lib` directory, as follows:

* **Microsoft Windows:** `InstallationDirectory\lib`
* **UNIX or Mac OS X:** `InstallationDirectory/lib`

## DB2 for i コネクタを追加

Sync でDB2 for i のデータを使用できるようにするには、まず以下の手順でコネクタを追加する必要があります：

<ol>
  <li>Sync のダッシュボードから**接続**ページを開きます。</li>
  <li>**接続を追加**をクリックして**コネクタを選択**ページを開きます。</li>
  <li>**同期先**タブをクリックして
  **DB2 for i (Native)** 行に移動します。</li>

  <li>
    行末にある**接続を設定**アイコンをクリックして、**新しい接続**ページを開きます。この操作により、
    **接続を追加**ダイアログが開きます。

    **Note：** **接続を設定**アイコンが表示されない場合は、**コネクタをダウンロード**アイコンをクリックして DB2 for i (Native) コネクタをインストールしてください。
  </li>

  <li>**接続を追加**ダイアログに接続名を入力します。</li>
  <li>**追加**をクリックして、コネクタの**設定**タブを開きます。</li>
</ol>

新しいコネクタのインストールについての詳細は、
[接続](https://docs.sync.cdata.com/26.3/ja/connections/connections.md)を参照してください。

## DB2 for i への認証

After you add the connector, you need to set the required properties.

* **Server:** Enter the address or host name of the DB2 for i server. The default server is **localhost**.
* **Database:** Enter the name of your DB2 for i database.
* **Port:** Enter the port number for your server. The default port is **446**.
* **User:** Enter the username that you use to authenticate to the DB2 for i database.
* **Password:** Enter the password that you use to authenticate to the DB2 for i database.

## 接続を完了する

To complete your connection:

1. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
2. Click **Create & Test** to create your connection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.