Previous Topic: Configure Debug Settings for Batch ApplicationsNext Topic: CICS Demo Source Programs


Select the Source Program to Monitor

Now you are ready to look at the programs and instruct CA InterTest for CICS to monitor a program. As part of monitoring a program, the application automatically prevents all abends during execution.

Follow these steps:

  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 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.

  5. Enter the following information:
    InterTest Server

    Defines the Testing Tools server. Select Basic Demo.

    PROTSYM Data Set

    Defines the fully qualified data set name of the PROTSYM VSAM file.

    Type CAI.PROTSYM, or substitute CAI.PROTSYM with the DSN provided by your CA InterTest for CICS administrator.

    If you receive an error about failure to retrieve a member list, check with your CA InterTest for CICS administrator.

    Note: You may be prompted to log on to your mainframe TSO here, if you have not already done so through CA InterTest for CICS.

  6. Click List Members.

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

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

  7. Scroll down through the table until you reach the program that you want to use. For the names of the demo programs to use in this tutorial, see Demo Source Programs. Select the program by checking the box next to it.
  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.

    Note: The CA InterTest for CICS administrator may have changed the name of the sample programs when installing the application. If you do not see the name of the demo program that you want to use, check with your CA InterTest for CICS administrator to find out the correct name.

  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.

  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.

Demo Source Programs

CA InterTest for CICS installs demo programs to use for this tutorial that are designed for use with the CA InterTest for CICS Eclipse UI tutorial. Use the compile procedures created during installation to compile a demo program, populate the PROTSYM, and link the program.

Note: The default names for the demo programs for each type of application may have been changed by your CA InterTest for CICS administrator during installation.