Moving the Diagnostics Data

Restriction: This topic applies only when the Enterprise Server feature is enabled.

Before you can start work on the data collected from the server that experienced the problem, you need to copy it into the diagnostics server. Here are the commands you need to move the collected data and the log files into a diagnostics server, assuming that:

In the examples below, Enterprise Server is installed as part of Visual COBOL:

Windows:

copy *.rec "%USERPROFILE%\Documents\Micro Focus User\Visual COBOL\WORKAREA\diagnostics-server-name"
copy console.log "%USERPROFILE%\Documents\Micro Focus User\Visual COBOL\WORKAREA\diagnostics-server-name\console.aux"
copy console.bak "%USERPROFILE%\Documents\Micro Focus User\Visual COBOL\WORKAREA\diagnostics-server-name\console.bak"

UNIX:

cp *.rec $COBDIR/var/mfcobol/es/WORKAREA/diagnostics-server-name
cp console.log $COBDIR/var/mfcobol/es/WORKAREA/diagnostics-server-name/console.aux
cp console.bak $COBDIR/var/mfcobol/es/WORKAREA/diagnostics-server-name/console.bak

Here is a sample script that copies the required data to a diagnostics server called diagnose.

Windows:

copy *.rec "%USERPROFILE%\Documents\Micro Focus User\Visual COBOL\WORKAREA\diagnose\"
copy console.log "%USERPROFILE%\Documents\Micro Focus User\Visual COBOL\WORKAREA\diagnose\console.aux"
copy console.bak "%USERPROFILE%\Documents\Micro Focus User\Visual COBOL\WORKAREA\diagnose\console.bak"

UNIX:

cp *.rec $COBDIR/var/mfcobol/es/WORKAREA/diagnose
cp console.log $COBDIR/var/mfcobol/es/WORKAREA/diagnose/console.aux
cp console.bak $COBDIR/var/mfcobol/es/WORKAREA/console.bak

Restart the server that experienced the problem after you have moved the data to the diagnostics server.