キー・マッピング・ファイルは、Rational® Developer for System
z 構成ファイルのエクスポート時に生成されます。このファイルには、Rational Developer for System z® のクライアントへのプッシュ構成環境で使用される構成ファイルの名前、ロケーション、および文字エンコードが格納されます。
キー・マッピング・ファイルは、
keymapping.xml という名前の UTF-8 エンコード XML ファイルです。
その z/OS® システム上のデフォルト・ロケーションは、
/var/rdz/pushtoclient/keymapping.xml です。このロケーションは、
/etc/rdz/pushtoclient.properties ファイルの
pushtoclient.folder プロパティーに定義されます。
pushtoclient.properties ファイルについて詳しくは、
「
IBM® Rational Developer for System z ホスト構成ガイド」(SC88-5663) を参照してください。
キー・マッピング・ファイルでは、構成ファイルごとに以下のタグが入っています。
- <fileId>
- 構成ファイルを識別します。このタグには以下の値が含まれます。ここでは、各ファイルの「エクスポート」ウィンドウに表示されるラベルを使用して、これらの値を説明します。
- com.ibm.ftt.resources.zos.install.configuration。構成ファイルのインストール - バージョン構成
- com.ibm.ftt.resources.zos.install.response。構成ファイルのインストール - 応答ファイル
- com.ibm.ftt.configurations.RSEConnections。リモート・システムの接続
- com.ibm.ftt.configurations.EclipsePreferences。Eclipse の設定
- com.ibm.ftt.projects.configurations.HostBasedConfigurationFile。ホスト・ベースのプロジェクト構成ファイル
- com.ibm.ftt.resources.zos.mapping.specificmapping。z/OS ファイル・システム・マッピングの構成ファイル - MVS™ ファイル - リソース・マッピング
- com.ibm.ftt.resources.zos.mapping.bct。z/OS ファイル・システム・マッピングの構成ファイル - MVS ファイル - Bidi 変換テーブル
- com.ibm.ftt.resources.zos.mapping.genericmapping。z/OS ファイル・システム・マッピングの構成ファイル - MVS ファイル - システム・マッピング
- com.ibm.ftt.properties.zos.propertygroups。プロパティー・グループの構成ファイル - プロパティー・グループ
- com.ibm.ftt.properties.zos.defaultvalues。プロパティー・グループの構成ファイル - デフォルト値
注: 「インストール」、「リモート・システムの接続」、および「Eclipse の設定」の各構成ファイルは、1 次システムにのみ保管されます。
- <containerPath>
- z/OS システム上の構成ファイルのロケーションを指定します。各構成ファイルのデフォルトのコンテナー・パスは、キー・マッピングファイルの入っているフォルダーまたはサブフォルダーのどちらかです。サブフォルダーは、親フォルダー内のファイル数を減らしたり、同様のファイル・セット (例えば、Eclipse 設定ファイル) をグループ化したりするために使用します。
- <fileMask>
- 構成ファイルの名前を指定します。「Eclipse 設定」や「RSE 接続」のようなエクスポート操作の中には、複数のファイルを生成するものがあります。これらの操作の場合は、ファイル・マスクの値に *.xml や *.zip のようにワイルドカード文字が使用されます。
- <encoding>
- 構成ファイルの文字エンコードを指定します。
サンプル・キー・マッピング・ファイル
以下のサンプル・キー・マッピング・ファイルは、z/OS システムの /var/rdz/pushtoclient パスに保管された構成ファイルを示しています。
<?xml version="1.0" encoding="UTF-8"?>
<configuration-system>
<location-list>
<location>
<fileId>com.ibm.ftt.resources.zos.install.configuration</fileId>
<containerPath>/var/rdz/pushtoclient/install</containerPath>
<fileMask>installconfig.xml</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.resources.zos.install.response</fileId>
<containerPath>/var/rdz/pushtoclient/install/responsefiles</containerPath>
<fileMask>*.xml</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.configurations.EclipsePreferences</fileId>
<containerPath>/var/rdz/pushtoclient/preferences</containerPath>
<fileMask>*.pref</fileMask>
<encoding>IBM-1047</encoding>
</location>
<location>
<fileId>com.ibm.ftt.configurations.RSEConnections</fileId>
<containerPath>/var/rdz/pushtoclient/connections</containerPath>
<fileMask>*.zip</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.projects.configurations.HostBasedConfigurationFile</fileId>
<containerPath>/var/rdz/pushtoclient/projects</containerPath>
<fileMask></fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.resources.zos.mapping.genericmapping</fileId>
<containerPath>/var/rdz/pushtoclient/mappings</containerPath>
<fileMask>zossys.xml</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.resources.zos.mapping.specificmapping</fileId>
<containerPath>/var/rdz/pushtoclient/mappings</containerPath>
<fileMask>zoshlq_*.xml</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.resources.zos.mapping.bct</fileId>
<containerPath>/var/rdz/pushtoclient/mappings</containerPath>
<fileMask>*.bct</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.properties.propertygroups</fileId>
<containerPath>/var/rdz/pushtoclient/properties</containerPath>
<fileMask>propertygroups.xml</fileMask>
<encoding>UTF-8</encoding>
</location>
<location>
<fileId>com.ibm.ftt.properties.defaultvalues</fileId>
<containerPath>/var/rdz/pushtoclient/properties</containerPath>
<fileMask>defaultvalues.xml</fileMask>
<encoding>UTF-8</encoding>
</location>
</location-list>
</configuration-system>