Run the TwoPackageSet Application

Provides step-by-step instructions to run the TwoPackageSet application using the Eclipse debugger.
  1. From the Application Explorer view in Eclipse, open the TwoPackageSet.cbl source file.
  2. Set a break point on the STOP RUN line.
  3. Click Run > Debug to start debugging.
  4. If prompted with the Debug As dialog box, select COBOL Application; then click OK.
  5. When prompted to open the Debug perspective, click Yes.
  6. Click Resume to continue to your breakpoint.

You should see from the output that alternating rows are coming from different database schemas. This demonstrates the use of a single cursor to switch package sets, pulling data from different schemas.

Note: If the output window is not visible, minimize Eclipse to reveal it.

This completes the tutorial.