問題が発生したサーバーから収集されたデータの処理を始める前に、そのデータを診断サーバーにコピーする必要があります。ここでは、次のことを前提として、収集されたデータおよびログ ファイルを診断サーバーに移動するために必要なコマンドを示します。
次の例では、Enterprise Server は Enterprise Developer の一部としてインストールされます。
copy *.rec "%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\diagnostics-server-name" copy console.log "%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\diagnostics-server-name\console.aux" copy console.bak "%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\diagnostics-server-name\console.bak"
cp *.rec /var/mfcobol/es/diagnostics-server-name cp console.log /var/mfcobol/es/diagnostics-server-name/console.aux cp console.bak /var/mfcobol/es/diagnostics-server-name/console.bak
必要なデータを diagnose という診断サーバーにコピーするサンプル スクリプトを次に示します。
copy *.rec "%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\diagnose\" copy console.log "%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\diagnose\console.aux" copy console.bak "%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\diagnose\console.bak"
cp *.rec /var/mfcobol/es/diagnose cp console.log /var/mfcobol/es/diagnose/console.aux cp console.bak /var/mfcobol/es/console.bak