Rational Developer for System z, Version 7.6

Remote debugging

  1. On the Application Entry Point page, make sure that COBOL is selected
  2. Ensure that you specify the TEST compiler option in your COBOL Settings, Compile Options page.
  3. Select Run in the Debugger on the Run-Time Options page.
    Note: If you are working with an existing system definition, you can edit the system properties to match the characteristics described above. Select the existing system definition, then right-click and select Properties.
  4. Create an MVS™ subproject.
  5. Copy the COBOL program from your local project to a COBOL data set in your MVS subproject.
  6. Switch to the debug perspective if you are not already using it and ensure that the debug daemon is listening.
  7. Open the z/OS® Projects view. To display the z/OS Projects view in the Debug perspective, select Window > Show View > Other, expand the z/OS Project Views folder, select z/OS Projects and click OK.
  8. Right-click the COBOL file in your subproject and select Generate JCL > for Compile Link Go.
  9. Right-click on the generated JCL file, and select Submit.
  10. The compilation should build an object deck, the link should build a load module, and the Go step should start a debug session.
  11. You may decide after your debug session that you would like to debug this module again. Since the load module is already built, you can right-click the load module and select Debug Application. This action will run another debug session.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)