Provides step-by-step instructions to run the TwoPackageSet application using the
Visual Studio debugger.
- From the
Solution Explorer in
Visual Studio, open the
TwoPackageSet.cbl source file.
- Set a break point on the STOP RUN line.
- Press
F5 to start debugging.
- Use the tools available from the
Debug toolbar or menu 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.