パラメーター | 説明 |
---|---|
name (必須) | 固有のデータベース接続名。 name パラメーターはデータベース接続の ID であるため、それぞれの接続には固有の名前を指定する必要があります。
注: インポート時にインポート・ファイル内の
name プロパティーが重複していると、インポート・ウィザードによりプロンプトが出され、接続プロパティーを新規データで更新するか、または変更を加えずに既存の接続を保持するように求められます。
|
dataServerType (必須) | データベース・サーバーのタイプ。
指定可能な値は次のとおりです。
重要: 製品によっては、サポート対象のデータベース・サーバーが限定される場合があります。データ・ソース接続ファイルをインポートする前に、定義した dataServerType 項目が、ご使用の製品でサポートされていることを確認してください。
|
db2instance (オプション) | DB2® インスタンス名。 |
databaseName (必須) | このデータベース接続のデータベース名。 |
host (必須) | データベースの存在するホストの IP アドレスまたは IP 名。 ホスト名を取得するには、サーバー上で TCP/IP の hostname コマンドを実行します。ホスト IP アドレスを取得するには、サーバー上で ping host_name コマンドを実行します。 |
port (必須) | データベースが構成されているポート番号。 |
user (オプション) | データベースのユーザー名。 |
password/password.decrypted (オプション) | データベース・ユーザーのパスワード。 password パラメーターを使用する場合、定義の中で指定されるパスワードは暗号化形式でなければなりません。 |
location (DB2Z 場合は必須) | DB2 for z/OS® システムのロケーション。 |
databaseAlias (オプション) | DB2 コマンド行プロセッサー (CLP) の別名。このパラメーターは、データ・サーバーのタイプが DB2LUW および DB2Z の場合にのみ使用できます。 |
INFORMIXSERVERNAME ( INFORMIX_JDBC の場合は必須、INFORMIX の場合はオプション) | Informix® データベース・サーバーの名前。 |
xtraProps (オプション) | 接続プロパティーなどの追加プロパティー。データベース・サーバーのタイプについての JDBC ドライバー文書で定義されています。 例: traceLevel=32 |
URL (説明を参照してください) | データベース・サーバーの JDBC URL。
データ・サーバーのタイプがデフォルトでサポートされていないものである場合、URL パラメーターは必須です。 注: このパラメーターの値を入力しない場合、
この接続に対してデフォルトの URL が作成されます。
|
comment (オプション) | このデータベース接続を説明するコメント。 |
#=========================================================================# # Licensed Materials - Property of IBM # # (c) Copyright IBM Corp. 2010, 2011 All Rights Reserved. # # US Government Users Restricted Rights - Use, duplication or # # disclosure restricted by GSA ADP Schedule Contract with # # IBM Corp. # #========================================================================================================================================================================================= # Field :: Description # name :: Required. The unique identifier for the database connection. # dataServerType :: Required. The database type. The following databases are supported by default: DB2LUW, DB2Z. # db2instance :: Optional. The DB2 instance name. # databaseName :: Required. The database name. # host :: Required. The IP address or IP name of the host where the database exists. # port :: Required. The port number where the database is configured. # user :: Required. The ID of a user that has access privileges on the database. # password/password.decrypted :: Optional. The password of the user ID. If you use the 'password' option, the value of this field must be the encrypted password. # location :: Optional. The location of DB2Z. This column is only required when the dataServerType is DB2Z. # databaseAlias :: Optional. The alias of the DB2 CLP. This column is only used for DB2LUW and DB2Z. # INFORMIXSERVERNAME :: Required if dataServerType is INFORMIX_JDBC. # xtraProps :: Optional. Additional properties such as connection properties as defined in the JDBC driver documentation for the database server type. Separate multiple properties with a semicolon. # URL :: Optional. The JDBC URL. This field is required if the data server type is not those supported by default. # comment :: Optional. A descriptive note for this this connection. # securityMechanism :: Optional. This column is reserved/used for connection export only. Users should not modify this column. # kerberosServerPrincipal :: Optional. This column is reserved/used for connection export only. Users should not modify this column. #========================================================================================================================================================================================= name, dataServerType, databaseName, db2instance, host, port, user, password, databaseAlias, location, INFORMIXSERVERNAME, xtraProps, URL, comment, #------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- SAMPLEDB, DB2LUW, SAMPLE_DATA, , sample.ibm.com, 50002, inst95, , , , , , jdbc:db2://sample.ibm.com:50002/SAMPLE_DATA:retrieveMessagesFromServerOnGetMessage=true;securityMechanism=3;, ,