Select the Source Program to Monitor

Now you are ready to look at the programs and instruct CA InterTest to monitor a program. As part of monitoring a batch program, CA InterTest automatically prevents all abends during execution. How this works is shown later when CA InterTest prevents your program from abending because of an S0C7.

To select the source program to monitor

  1. Verify that the program to be debugged has been compiled and post-processed into the PROTSYM files.
  2. Click the InterTest Debug view so that it is the active view.
  3. Click the project name (Basic Demo) on the CA InterTest Debug view.

    The project name is highlighted.

  4. Click the Import PROTSYM Files button An icon that imports PROTSYM fileson the CA InterTest main window toolbar.

    The Import PROTSYM Files dialog opens.

    A dialog in which you enter a PROTSYM data set.

  5. Enter the following information:
  6. Click List Members.

    The table is filled with the programs in the data set you chose.

  7. Scroll down through the table until you reach CAMRCOBB, the program you want to debug. Select the program by checking the box next to it.

    The dialog displays a list of all the PROTSYM files in the data set.

    Note: The file list may not contain the name of the demo program indicated previously. This is because the CA InterTest administrator who installed CA InterTest changed the name of the sample programs available to you. Check with your CA InterTest administrator to find out the correct name.

  8. If the Into folder box is empty, click the Browse button, and select the Basic Demo folder to import the program into.

    The name Basic Demo appears in the Into folder box.

  9. Ensure that the two check boxes in the Options section are selected.
  10. Click Finish.

    The demo program displays in the InterTest Debug view in the Monitored Programs folder.

    A dialog displays CAMRCOBB ready for monitoring.

  11. Double-click the demo program name on the InterTest Debug view.

    The program listing displays in the Program Listing area, with an outline of the program in the Outline view.

    Program CAMRCOBB displays in the Program Listing area


Copyright © 2009 CA. All rights reserved. Email CA about this topic