- Create the following programs using the code in the examples listed in
Related Information:
preproc.cbl,
working.cbl and
asmcobol.cbl
- Edit
preproc.cbl to specify the following as the first statement in the START-PARA section:
call "CBL_DEBUGBREAK" end-call
This a call to the COBOL run-time system to invoke the COBOL debugger.
- Perform the relevant steps from the topic
To build the demonstration preprocessor. If you have already created the projects, you will just need to rebuild the project containing
preproc.cbl.
When you debug the second project, the call to CBL_DEBUGBREAK that you inserted at step 2 invokes the debugger, enabling you to debug the preprocessor code.