Batch Profiler Conversion for Interactive Transaction Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current batch profiler programs are unable to operate effectively in online transaction processing environments due to the managed runtime environment's interference with the operating system's application lookup service, hindering their ability to provide accurate performance profiling in interactive settings.
Innovation Solution
The conversion of batch profiler programs into interactive profiler programs, which establish a new application lookup service and utilize binder services APIs to retrieve application information, allowing them to function within online transaction processing environments and provide low-level, per-instruction views of application activity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If batch profiler programs are used in online transaction processing environments, then profiling capability is provided, but the managed runtime environment interferes with the operating system's application lookup service, reducing measurement precision
Solution Approach 1:
The patent introduces a translation layer that acts as an intermediary between the batch profiler program and the CICS runtime environment. This translation layer converts CICS-specific parameters (like program names and data set names) into standardized parameters that the batch profiler can process, thereby enabling accurate application lookup despite the managed runtime environment's interference with direct operating system access.
2Reliability
If batch profiler programs operate in online transaction processing environments, then profiling is enabled, but the system complexity increases due to the managed runtime environment
Solution Approach 1:
The translation layer serves as a mediator that simplifies the interaction between the batch profiler and CICS environment. By handling the complexity of parameter translation and environment-specific adaptations centrally, it allows the batch profiler itself to remain relatively simple while still functioning effectively in the complex online transaction processing environment.
Solution Approach 2:
The batch profiler program is enhanced with universal capabilities to handle both traditional operating system environments and CICS managed runtime environments. The translation layer enables the same profiler to work across different environments by adapting to their specific parameter requirements, thereby reducing the need for environment-specific profiler versions.
3Adaptability or versatility
If batch profiler programs are converted to interactive profiler programs, then compatibility with online transaction processing environments is improved, but the ease of operation decreases due to parameter translation requirements
Solution Approach 1:
The translation layer operates automatically without requiring user intervention. It seamlessly translates parameters between CICS and standard formats in the background, making the conversion process transparent to the user. This self-service approach maintains ease of operation while achieving environment compatibility.
Data Source
AI summary
Profiling an online transaction processing environment application using a batch profiler program converted to an interactive profiler program is provided. An application extent list parameter is generated for an application based on an instruction memory address corresponding to the application and a size of the application in response to determining that the application is found in memory. An application token parameter for the application is replaced with an application name of the application and a library name of a library that includes a dataset definition name corresponding to a location of the application. The application extent list parameter corresponding to the application, the application name of the application, and the library name of the library that includes the dataset definition name corresponding to the location of the application are provided to the interactive profiler program to profile the application running in an online transaction processing environment.


