The CICS IA host side collects the Dependency, Affinity, and Command Flow data that can be used to carry out threadsafe analysis on a program or a transaction. The Load Module Scanner also provides the reentrant information to the report. The CICS IA threadsafe analysis report can be run in the CICS IA plug-in.
Threadsafe report can be used by the CICS programmer to analyse the thread safety aspects of their programs and for a better compliance with the best practices of the CICS application.
2. Component Diagram
Figure 1 shows the component diagram for running a threadsafe report.
3. Report Details
The threadsafe report can be classified into 2 types as follows:
a. Threadsafe Summary Report:
The summary report contains the threadsafe summary details like total CICS calls, number of the threadsafe calls, number of non-threadsafe calls, and related information as shown in Figure 2.
b. Threadsafe Detail Report:
Along with the details present in threadsafe summary report, the detailed report also consists of information about each command executed as part of the program as shown in Figure 3.
4. Generating Threadsafe Report in CICS IA Plug-in
After collecting and loading the threadsafe data into the DB2 database, users can run the report from CICS IA plug-in.
Users can generate the report on Program, Transaction, and a Region. Option to generate the report for a selected program in all regions or in a specific region is shown in Figure 4.
a. Threadsafe Report Parameters
While generating the report, you can select from the following parameters as shown in Figure 5.
Now the user must select the location where the report is saved. Preferably, the report must be saved inside the threadsafe report folder with an appropriate name as shown in Figure 6.
b. Opening Threadsafe Report in Eclipse Editor
To open a report in Eclipse editor, user can directly double-click on the saved report or right-click the report and select Open Report as shown in Figure 7.
The threadsafe report opens as shows in Figure 8.
c. Opening Threadsafe Report in the Eclipse Browser and Printing the Report
To open a threadsafe report in the Eclipse browser, right-click the report and select Open in Browser as shown in Figure 9.
The report opens in the Eclipse-embedded browser as shown in Figure 10.
To print the report or save as PDF, press Ctrl+P.
CICS Interdependency Analyzer overview (https://www.redbooks.ibm.com/redbooks/pdfs/sg246458.pdf)
Ganesh Adiga R (email@example.com)