Debug the ACCT Transaction

Guides you through the process of creating a debug configuration for the ACCTCLNT project and debugging the ACCT transaction using the Enterprise Developer debugger in Eclipse.

Create a debug configuration for the ACCTCLNT project

  1. Click Run > Debug Configurations.
  2. Right-click COBOL Enterprise Server and click New.
  3. Specify ACCTCLNT Debug in the Name field.
  4. Click Browse next to the COBOL Project field.
  5. Select the ACCTCLNT project and click OK.
  6. Enter ACCTCLNT into the Link-level program text box.
  7. Click Apply.

    Do not close the Debug Configurations dialog box.

Debug the transaction

  1. On the Debug Configurations dialog box, click Debug.
  2. Click Yes when prompted to switch to the Debug perspective.
  3. In the Rumba Mainframe Display view, run the ACCT transaction.
    Note: If the Rumba Mainframe Display view is too small to use, right-click its tab, and then select Detach from the context menu. You can then resize it as required.
  4. On the ACCOUNT FILE: MENU screen, enter W (upper case) into the Surname field.
  5. Step through the application in the usual manner.

    When you have stepped through the appropriate code, a list of records that start with W appears on the screen.

  6. To stop debugging, right-click the session in the Debug pane and then click Terminate.

Stop the ACCTCLNT server

  1. In the Eclipse, switch to the Team Developer perspective.
  2. On the Server Explorer, right-click ACCTCLNT, and select Stop from the context menu.

This concludes the tutorial.