Provides step-by-step instructions to run the TwoPackageSet application using the
Eclipse debugger.
- From the
Application Explorer view in
Eclipse, open the
TwoPackageSet.cbl source file.
- Set a break point on the
stop run line.
- Click
Run > Debug to start debugging.
- If prompted with the
Debug As dialog box, select
COBOL Application; then click
OK.
- When prompted to open the
Debug perspective, click
Yes.
- 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.