Use Schedule to Improve DB2 or IMS/DC Debugging

The Scheduling feature in the CA InterTest Graphical User Interface allows users to schedule a debugging session for one or more DB2 stored procedures or IMS/DC applications. When a DB2 stored procedure or IMS/DC application is scheduled successfully, the execution of the scheduled program suspends the program and places the program into the Batch Link Queue, where you can select the program for debugging. The Schedule facility helps you leverage your testing environment by letting you specify exactly which DB2 stored procedures or IMS/DC transactions you want CA InterTest to monitor. All other programs run unmonitored. This ability lets you use the same region for debugging as well as executing a production DB2 SP or IMS/DC workload.

Note: It is necessary to enable the Scheduling feature. You can verify that the feature was enabled by accessing the Schedule. If the short message RC12 – SCHEDULE NOT FOUND displays, the Scheduling feature was not enabled, and all DB2 SP and IMS/DC transactions run unmonitored. For more information about activating the Scheduling feature and customizing your JCL for debugging DB2 stored procedures and IMS/DC applications, see the CA InterTest Batch Installation Guide.

To use the Scheduling Feature:

  1. Click the DB2 and IMS Scheduling Display icon A toolbar icon for debugging IMS/DC transactions and DB2 stored procedures. on the CA InterTest main toolbar.

    The DB2 and IMS Scheduling dialog opens.

  2. Select a server to which the mainframe system is connected from the Servers drop-down list.

    Note: If you have not logged on to the mainframe, you will see a logon dialog. Enter your logon details to log on to TSO.

    If you define a server as default when adding or configuring a server, this server is preselected.

  3. Select DB2 or IMS option under Database to display the appropriate schedules.

    The Schedule Table Functions field lists the schedule entries in a tabular format showing the following information: Job name, program, whether the entry is deleted from the schedule upon selection for monitoring, and the database. This display is automatically populated by values based on the selection in the Database field. If you select the IMS option, you will see the schedule entries for the IMS/DC transactions.

    Note: If you see a message, RC04 - NO MATCHING SCHEDULE then it indicates that the core table is empty.

  4. Perform one of the following optional actions by clicking the related button:
  5. Click Finish to close the dialog.

Sharing Schedules between LPARs in a SYSPLEX

Scheduling is not limited to the LPAR you are currently logged on to. You can:

To use this functionality, ensure that: