To create a live recording

Restriction:
This feature is only supported on the following platforms:
  • Red Hat Linux (x86 and x64)
  • SUSE Linux Enterprise Server (SLES) 12 SP2 (x64 only)

Additional restrictions apply. For details, see the Reverse Debugging and Live Recording topic in the Known Issues and Restrictions > Problem Determination and Diagnostic Tools section of this documentation.

  1. Click Run > Run Configurations.
  2. In the list of configuration types, double-click COBOL Application.
  3. In the right-hand pane, in the Name field, type a name for your run configuration.
  4. On the General tab, supply the following:
    COBOL Project
    The project that contains the program you want to run.
    Main Program
    If applicable, ensure that Program is part of project build configuration is checked, and that the name of the build configuration appears in the corresponding field. The field below should contain the your project's output output path and main program to run.
  5. On the Environment tab, define the COB_LIVE_RECORD environment variable:
    1. Click Add.
    2. In the Variable field, type COB_LIVE_RECORD.
    3. In the Value field, type the full path to (optional - default is your Eclipse workspace) and filename prefix for the output file you want the Live Recorder to create when the program runs. For example:
      /home/user/workspace/myrecordings/tictac
    4. Click OK.
  6. Run the application:
    1. On the Run Configurations dialog box, click Run.
    2. Let the application run until it terminates normally.
  7. From a terminal window or file browser, go to the directory you specified as the value for the COB_LIVE_RECORD environment variable, and confirm that the output file has been created. The output filename takes the following form:
    filePrefix.nnnn.mfr

    Where filePrefix is the filename prefix you specified for the COB_LIVE_RECORD environment variable and nnnn is a generated process ID.