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 and SymDump documentation.
Follow these steps:
-
Click the DB2 and IMS Scheduling Display icon on the CA InterTest™ main toolbar.
The DB2 and IMS Scheduling dialog opens. -
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.
-
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.
-
Perform one of the following optional actions by clicking the related button:
-
Insert
Adds a new schedule entry using the Scheduling Insert dialog. -
Delete
Deletes a selected schedule entry or a set of schedule entries from the DB2 and IMS Scheduling dialog. -
Change
Modifies the attributes of a schedule entry using the Scheduling Change dialog. -
Import
Imports all schedule entries for both DB2 SP and IMS/DC transactions. -
Export
Exports the schedule entries for both DB2 SP and IMS/DC workload to a data set on the mainframe.
-
-
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:
-
Add an IMS / DB2 schedule on one LPAR which is then available on all LPARs.
-
Change an IMS / DB2 schedule on one LPAR, the change propagates to all LPARs.
-
Delete an IMS / DB2 schedule from one LPAR which is then deleted on all LPARs.
-
Trigger an IMS /DB2 schedule and select it for debugging from any LPAR.
-
Use the IMPORT and EXPORT functions for all scheduled items available on the LPARs within the SYSPLEX.
To use this functionality, ensure that:
-
TCP/IP is active and accessible across the SYSPLEX.
-
A CA Testing Tools server is running on each LPAR that is sharing scheduling.
-
You enabled the SYSPLEX option available in the CAMRSTBZ program during configuration.
Note: For more information about enabling the SYSPLEX (Cross-LPAR) Debugging Feature, see the CA InterTest and SymDump documentation.