---
title: "IBM Bob at Elmec: Much More Than Code Generation"
description: IBM Bob is IBM's AI development partner, here how our IBM Power team uses it in their eveyday tasks
image: https://blog.elmec.com/hubfs/grafiche%20blog%20(4).png
---

[![logo](https://www.elmec.com/assets/imgs/logo-light.svg)](https://www.elmec.com)

- [Competenze](https://www.elmec.com/competenze/index.html)
- [Non eventi](https://www.elmec.com/eventi-formativi/index.html)
- [Vita in azienda](https://www.elmec.com/vita-in-azienda/index.html)
- [Burocrazia](https://www.elmec.com/burocrazia/index.html)
- [Blog](https://blog.elmec.com/?hsLang=en)
- [Contatti](https://www.elmec.com/contatti/index.html)
- SOS Security
- [MyElmec](https://my.elmec.com/)

[![](https://www.elmec.com/assets/imgs/logo-light.svg)](https://www.elmec.com)

## Menu

- [Competenze](https://www.elmec.com/competenze/index.html)
- [Non Eventi](https://www.elmec.com/eventi-formativi/index.html)
- [Vita in azienda](https://www.elmec.com/vita-in-azienda/index.html)
- [Burocrazia](https://www.elmec.com/burocrazia/index.html)
- [Blog](https://blog.elmec.com/?hsLang=en)
- [Contatti](https://www.elmec.com/contatti/index.html)

###### Vieni a trovarci

##### Via Pret, 1 - Brunello (VA) - a pochi KM da Milano

###### Social Media

- [LinkedIn](https://www.linkedin.com/company/elmec-informatica/)
- [Instagram](https://www.instagram.com/elmecinformatica/)
- [Facebook](https://www.facebook.com/ElmecInformatica/)

###### Contattaci

##### [0332.802.111](tel:+390332802111)

# IBM Bob at Elmec: Much More Than Code Generation

![IBM Bob at Elmec: Much More Than Code Generation](https://blog.elmec.com/hubfs/grafiche%20blog%20(4).png)

**Nov** 24

Scritto da **Andrea Buzzi**

*When AI for software development is discussed, the conversation usually turns immediately to code generation. On IBM i, however, our day-to-day experience shows that this is only one part of the picture.*

[In Elmec's IBM Power Business Unit](https://blog.elmec.com/ibm-i-la-piattaforma-che-evolve-con-il-business?hsLang=en) we provide managed services for both applications and infrastructures. Every day we encounter a wide range of scenarios: databases that need optimization, RPG and CL programs written years ago by someone else, and code that must be reviewed before going into production.

For several months, we have had an additional and valuable ally in these activities: **IBM Bob with the Premium Package for i**. In this article, we explain how we use it and why platform-specific workflows matter more than the lines of code it can generate.

## IBM Bob and the Premium Package for i

**IBM Bob is IBM's AI development partner**, globally available since April 2026. It goes far beyond code generation, supporting the entire software lifecycle, including planning, development, testing, deployment, and modernization.

The Premium Package for i is the add-on that brings Bob directly into the IBM i environment. It connects to the system through Code for IBM i via SSH, reads and writes source code in QSYS and the IFS, executes CL commands, SQL statements, and PASE commands on the connected machine.

On top of this connection, the package introduces three elements that make a real difference for us.

The first is **a set of dedicated mods and skills**, including IBM i Developer for RPG, CL, DDS, and COBOL, and IBM i Database for Db2 for i. These automatically receive the context of the active connection.

Equally important are the **structured workflows**, which combine agentic steps with deterministic ones. Deterministic steps consume fewer tokens and produce consistent, repeatable results from one execution to the next.

## Database Optimization: Combining Index Advisor, Plan Cache, and Database Monitor

When investigating SQL performance issues, the SQL Index Strategy Advisor workflow has proven particularly valuable.

On IBM i, the information needed to understand performance bottlenecks is already available. The challenge lies in consolidating the many different sources of information. Db2 for i's Index Advisor suggests missing indexes, the Plan Cache stores access plans for executed queries, and Database Monitor records detailed activity for jobs or time intervals. Each component tells part of the story.

The workflow correlates these sources through a structured process:

1. **Select the source of analysis**: a new collection, an existing Plan Cache snapshot, or Database Monitor data.
2. **Bob analyzes the information** alongside Index Advisor recommendations, MTI usage (temporary indexes automatically created by the optimizer), and query statistics.
3. **It proposes an indexing strategy** for both physical tables and logical files.
4. **The proposed indexes are submitted for review**. Engineers approve only the recommendations they consider appropriate, and only those are created on the system.
5. **The process concludes with a report** covering the data source, analysis results, indexes created, and recommended next steps.

Step four is critical for us. On customer systems, **no object is ever created without human approval**, and the final report provides full documentation of every decision.

## Working with Third-Party Code: Extracting Business Logic

Taking responsibility for applications developed by others is a common situation in our work, and documentation is often incomplete or entirely absent.

**The Business Rules Extraction workflow transforms source code into a clear report** that explains what each program actually does.

It supports every major RPG variant, from RPG II and RPG/400 to RPGLE and SQLRPGLE. More importantly, it does not stop at the individual source member. It identifies external dependencies, including physical and logical files, called programs and service programs, copy members, SQL instructions, and system APIs.

Once these dependencies have been mapped, the workflow extracts and contextualizes them so that every identified business rule can be understood at field level. It then separates the source into procedures, subroutines, and mainline logic, analyzing them in parallel.

The result is a report covering validations, calculations, decision-making logic, data integrity requirements, and process flows. Diagrams illustrate workflows, decision points, and state transitions.

We use this capability primarily in two situations:

- **During onboarding of new customer environments**, it quickly provides a map of business rules that can be validated with the customer.
- **During training and knowledge transfer**, it offers junior team members a readable starting point for understanding programs that would otherwise require hours of line-by-line analysis.

## Code Review: Correctness, Performance, and Security

Generating code is useful, but validating it is just as important, both from a functional and security perspective.

For this reason, code review has become a standard step in our process, whether we are working with newly developed software or inherited applications.

The package provides two dedicated commands:

- **/review\_rpg:** This command analyzes fixed-format, free-format, or mixed RPG source code. It evaluates coding standards, error handling, security practices, and data access patterns. The output includes ranked findings based on severity as well as a modernization roadmap.
- **/review\_SQL:** This command reviews either a single SQL statement or all SQL statements contained within a source member. It evaluates correctness, readability, security, performance according to optimizer best practices, and transaction isolation levels.
  
  The workflow rewrites SQL statements only when their semantics can be preserved with certainty. Otherwise, it clearly identifies where outcomes depend on data characteristics or workload conditions.

In practice, **automated reviews do not replace our own expertise**. They make the review process faster and more consistent across different engineers. Every change still goes through compilation, testing, and team approval before implementation.

## Beyond Code Generation

Code generation remains a valuable capability, and we make extensive use of it. However, the greatest value we see every day comes from workflows that embed platform knowledge and apply it consistently and repeatably.

Analyzing database performance, reconstructing the business logic of unfamiliar applications, reviewing code, and supporting modernization are tasks that require deep IBM i expertise.

Bob's goal is not to replace people through agentic tools. Instead, it acts as a genuine development partner that makes specialized IBM i knowledge available across the entire team while leaving the critical decisions to experienced professionals.

For our customers, this translates into faster onboarding, better-documented applications, and thoroughly reviewed code before it reaches production.

- [English](https://blog.elmec.com/en/ibm-bob-in-elmec)
- [Italian - Italy](https://blog.elmec.com/ibm-bob-in-elmec)

## Ultimi post pubblicati

### Tags

- [50annidiElmec (3)](https://blog.elmec.com/tag/50annidielmec?hsLang=en)
- [About (3)](https://blog.elmec.com/tag/about?hsLang=en)
- [AI (3)](https://blog.elmec.com/tag/ai?hsLang=en)
- [as400 (3)](https://blog.elmec.com/tag/as400?hsLang=en)
- [ASSET MANAGEMENT (6)](https://blog.elmec.com/tag/asset-management?hsLang=en)
- [automation (2)](https://blog.elmec.com/tag/automation?hsLang=en)
- [award (3)](https://blog.elmec.com/tag/award?hsLang=en)
- [backup (5)](https://blog.elmec.com/tag/backup?hsLang=en)
- [business continuity (1)](https://blog.elmec.com/tag/business-continuity?hsLang=en)
- [career (6)](https://blog.elmec.com/tag/career?hsLang=en)
- [cloud (6)](https://blog.elmec.com/tag/cloud?hsLang=en)
- [CMDB (3)](https://blog.elmec.com/tag/cmdb?hsLang=en)
- [competenze (1)](https://blog.elmec.com/tag/competenze?hsLang=en)
- [comunicato (4)](https://blog.elmec.com/tag/comunicato?hsLang=en)
- [connect (2)](https://blog.elmec.com/tag/connect?hsLang=en)
- [connettività (1)](https://blog.elmec.com/tag/connettivit%C3%A0?hsLang=en)
- [container (1)](https://blog.elmec.com/tag/container?hsLang=en)
- [CSR (11)](https://blog.elmec.com/tag/csr?hsLang=en)
- [cybersecurity (17)](https://blog.elmec.com/tag/cybersecurity?hsLang=en)
- [data center (7)](https://blog.elmec.com/tag/data-center?hsLang=en)
- [data management (5)](https://blog.elmec.com/tag/data-management?hsLang=en)
- [data protection (5)](https://blog.elmec.com/tag/data-protection?hsLang=en)
- [data security (4)](https://blog.elmec.com/tag/data-security?hsLang=en)
- [device as a service (10)](https://blog.elmec.com/tag/device-as-a-service?hsLang=en)
- [devops (3)](https://blog.elmec.com/tag/devops?hsLang=en)
- [dex (1)](https://blog.elmec.com/tag/dex?hsLang=en)
- [digital employee esperience (3)](https://blog.elmec.com/tag/digital-employee-esperience?hsLang=en)
- [digital infrastructure (12)](https://blog.elmec.com/tag/digital-infrastructure?hsLang=en)
- [digital workplace (16)](https://blog.elmec.com/tag/digital-workplace?hsLang=en)
- [disaster recovery (4)](https://blog.elmec.com/tag/disaster-recovery?hsLang=en)
- [elmec (17)](https://blog.elmec.com/tag/elmec?hsLang=en)
- [Elmec Vision (3)](https://blog.elmec.com/tag/elmec-vision?hsLang=en)
- [events (9)](https://blog.elmec.com/tag/events?hsLang=en)
- [formazione (2)](https://blog.elmec.com/tag/formazione?hsLang=en)
- [governance (3)](https://blog.elmec.com/tag/governance?hsLang=en)
- [help desk (1)](https://blog.elmec.com/tag/help-desk?hsLang=en)
- [HR (9)](https://blog.elmec.com/tag/hr?hsLang=en)
- [hybrid cloud (2)](https://blog.elmec.com/tag/hybrid-cloud?hsLang=en)
- [ibm (2)](https://blog.elmec.com/tag/ibm?hsLang=en)
- [Infrastructure IT (17)](https://blog.elmec.com/tag/infrastructure-it?hsLang=en)
- [IoT (1)](https://blog.elmec.com/tag/iot?hsLang=en)
- [IT operation (3)](https://blog.elmec.com/tag/it-operation?hsLang=en)
- [macchine virtuali (1)](https://blog.elmec.com/tag/macchine-virtuali?hsLang=en)
- [managed Licensing Service (1)](https://blog.elmec.com/tag/managed-licensing-service?hsLang=en)
- [Managed Workplace (15)](https://blog.elmec.com/tag/managed-workplace?hsLang=en)
- [myelmec (20)](https://blog.elmec.com/tag/myelmec?hsLang=en)
- [network (5)](https://blog.elmec.com/tag/network?hsLang=en)
- [news (12)](https://blog.elmec.com/tag/news?hsLang=en)
- [noleggio (7)](https://blog.elmec.com/tag/noleggio?hsLang=en)
- [noleggio operativo (2)](https://blog.elmec.com/tag/noleggio-operativo?hsLang=en)
- [patch (1)](https://blog.elmec.com/tag/patch?hsLang=en)
- [patch management (1)](https://blog.elmec.com/tag/patch-management?hsLang=en)
- [Platform Services (5)](https://blog.elmec.com/tag/platform-services?hsLang=en)
- [postazioni di lavoro (2)](https://blog.elmec.com/tag/postazioni-di-lavoro?hsLang=en)
- [press release (1)](https://blog.elmec.com/tag/press-release?hsLang=en)
- [SAP (2)](https://blog.elmec.com/tag/sap?hsLang=en)
- [sase (1)](https://blog.elmec.com/tag/sase?hsLang=en)
- [sdwan (1)](https://blog.elmec.com/tag/sdwan?hsLang=en)
- [security (6)](https://blog.elmec.com/tag/security?hsLang=en)
- [servizi gestiti (16)](https://blog.elmec.com/tag/servizi-gestiti?hsLang=en)
- [sistemi informatici (1)](https://blog.elmec.com/tag/sistemi-informatici?hsLang=en)
- [Sostenibilità (10)](https://blog.elmec.com/tag/sostenibilit%C3%A0?hsLang=en)
- [Sponsored Blog Post (5)](https://blog.elmec.com/tag/sponsored-blog-post?hsLang=en)
- [Storage (5)](https://blog.elmec.com/tag/storage?hsLang=en)
- [ticketing (1)](https://blog.elmec.com/tag/ticketing?hsLang=en)
- [virtual machine (1)](https://blog.elmec.com/tag/virtual-machine?hsLang=en)
- [vpn (1)](https://blog.elmec.com/tag/vpn?hsLang=en)
- [workplace (8)](https://blog.elmec.com/tag/workplace?hsLang=en)
- [ztna (1)](https://blog.elmec.com/tag/ztna?hsLang=en)

![](https://www.elmec.com/assets/imgs/logo-light.svg)

- [LinkedIn](https://www.linkedin.com/company/elmec-informatica/)
- [Instagram](https://www.instagram.com/elmecinformatica/)
- [Facebook](https://www.facebook.com/ElmecInformatica/)

## Come possiamo aiutarti? [Contattaci.](https://www.elmec.com/contatti/index.html)

[+39 0332.802.111](tel:+390332802111)

[Note legali](https://www.elmec.com/note-legali/index.html)

[Assistenza tecnica](https://www.elmec.com/assistenza-tecnica/index.html)

###### Chi siamo

Non possiamo parlare di futuro senza raccontarti le origini. Era il 1971 quando tutto ebbe inizio. Una storia lunga quanto quella dell’informatica: c’era la perforatrice e c’eravamo noi. [Guarda come siamo diventati grandi.](https://www.elmec.com/storia/index.html)

[Lavora con noi](https://www.elmec.com/lavora-con-noi/index.html)

[Privacy Policy](https://www.iubenda.com/privacy-policy/48401532) | [Cookies Policy](https://www.iubenda.com/privacy-policy/48401532/cookie-policy) | [Informativa privacy clienti e fornitori](https://www.elmec.com/privacy/Informativa-clienti-e-fornitori-sito-GDPR.pdf) Elmec Informatica S.p.A. © 2024 - [Tutti i diritti sono riservati](https://www.elmec.com/privacy/Disclaimer-Copyright.pdf)