MFT プロパティーでの環境変数の使用
ファイルまたはディレクトリーの場所を表す Managed File Transfer プロパティーで環境変数を使用することができます。 これにより、製品の一部を実行するときに使用されるファイルまたはディレクトリーの場所を、現在の環境 (例えば、コマンドを実行するユーザー) に応じて変えることができます。
以下のプロパティーは、ファイルまたはディレクトリーの場所を受け入れるため、環境変数を含めることができます。
agentQMgrAuthenticationCredentialsFileagentSslKeyStoreagentSslKeyStoreCredentialsFileagentSslTrustStoreagentSslTrustStoreCredentialsFilecdNodeKeystoreCredentialsFilecdNodeTruststoreCredentialsFilecdTmpDircdNodeKeystorecdNodeTruststorecommandPathconnectionQMgrAuthenticationCredentialsFileconnectionSslKeyStoreconnectionSslKeyStoreCredentialsFileconnectionSslTrustStoreconnectionSslTrustStoreCredentialsFilecoordinationSslKeyStorecoordinationSslKeyStoreCredentialsFilecoordinationQMgrAuthenticationCredentialsFilecoordinationSslTrustStorecoordinationSslTrustStoreCredentialsFileexitClassPathexitNativeLibraryPathjavaCoreTriggerFileloggerQMgrAuthenticationCredentialsFilesandboxRoottransferRootwmqfte.database.credentials.file
![[Windows]](ngwin.gif)
Windows の例
Windows システムで、ユーザー fteuser が次のように環境変数 USERPROFILE を使用したとします。wmqfte.database.credentials.file=%USERPROFILE%\\logger\\mqmftcredentials.xmlこれは次のファイル・パスに解決されます。
C:\Users\fteuser\logger\mqmftcredentials.xml![[AIX]](ngaix.gif)
![[Linux]](nglinux.gif)
AIX® and Linux® の例
UNIX システムで、ユーザー fteuser が次のように環境変数 HOME を使用したとします。transferRoot=$HOME/fte/これは次のファイル・パスに解決されます。
/home/fteuser/fte/