MFT プロパティーでの環境変数の使用

ファイルまたはディレクトリーの場所を表す Managed File Transfer プロパティーで環境変数を使用することができます。 これにより、製品の一部を実行するときに使用されるファイルまたはディレクトリーの場所を、現在の環境 (例えば、コマンドを実行するユーザー) に応じて変えることができます。

以下のプロパティーは、ファイルまたはディレクトリーの場所を受け入れるため、環境変数を含めることができます。
  • agentQMgrAuthenticationCredentialsFile
  • agentSslKeyStore
  • agentSslKeyStoreCredentialsFile
  • agentSslTrustStore
  • agentSslTrustStoreCredentialsFile
  • cdNodeKeystoreCredentialsFile
  • cdNodeTruststoreCredentialsFile
  • cdTmpDir
  • cdNodeKeystore
  • cdNodeTruststore
  • commandPath
  • connectionQMgrAuthenticationCredentialsFile
  • connectionSslKeyStore
  • connectionSslKeyStoreCredentialsFile
  • connectionSslTrustStore
  • connectionSslTrustStoreCredentialsFile
  • coordinationSslKeyStore
  • coordinationSslKeyStoreCredentialsFile
  • coordinationQMgrAuthenticationCredentialsFile
  • coordinationSslTrustStore
  • coordinationSslTrustStoreCredentialsFile
  • exitClassPath
  • exitNativeLibraryPath
  • javaCoreTriggerFile
  • loggerQMgrAuthenticationCredentialsFile
  • sandboxRoot
  • transferRoot
  • wmqfte.database.credentials.file
[Windows]

Windows の例

Windows システムで、ユーザー fteuser が次のように環境変数 USERPROFILE を使用したとします。
wmqfte.database.credentials.file=%USERPROFILE%\\logger\\mqmftcredentials.xml
これは次のファイル・パスに解決されます。
C:\Users\fteuser\logger\mqmftcredentials.xml
[AIX][Linux]

AIX® and Linux® の例

UNIX システムで、ユーザー fteuser が次のように環境変数 HOME を使用したとします。
transferRoot=$HOME/fte/
これは次のファイル・パスに解決されます。
/home/fteuser/fte/