About IBM watsonx Code Assistant for Z Code Optimization Advice
2.1+
Learn about Z Code Optimization Advice, its features, and how it works.
What is Z Code Optimization Advice
Z Code Optimization Advice is a tool that provides detailed guidance on optimizing COBOL programs for the best performance on IBM z/OS. It can assist you in your modernization journey, help you optimize your existing code base, and ensure ongoing performance excellence for new code.
Z Code Optimization Advice empowers COBOL developers to enhance the quality and performance of code they are working on. It performs in-depth runtime analysis on mission-critical COBOL code, identifying performance inefficiencies and delivering prioritized actionable recommendations through the VS Code user interface.
- 2.4+ Profile and analyze Enterprise COBOL 6 and Enterprise COBOL 4 applications and programs from VS Code
- View analysis results in an intuitive and interactive report interface in VS Code
- Identify performance inefficiencies prioritized by performance impact
- Fix performance inefficiencies with tailored recommendations
- Navigate directly to inefficient lines of code with source code linking
- Display runtime and compiler options for your applications and programs
How does Z Code Optimization Advice work
- The z/OS host (on-prem) component profiles and analyzes the programs running on IBM Z hardware to generate the report.
- The client-side VS Code extension displays the report data directly in the editor and links to the user’s source code.
Generating your first optimization report
It is important to configure the launcher JCL correctly. Refer to Generating an optimization report and Submitting a job with the Z Code Optimization Advice launcher for more information.
Open your optimization report by following the instructions at Viewing an optimization report. Then, follow the suggestions to correct performance problems by following the instructions at Comparing optimization reports. Compare results after making and running code changes by following the instructions at Comparing optimization reports.