Author name: AS400 Decoded

Modern Integrations

AI-Assisted Legacy Code Documentation on IBM i in 2026: Using LLMs to Document RPG Programs, Extract Business Rules, and Build a Knowledge Base

A practical guide to using AI and large language models to document legacy IBM i RPG programs in 2026: extracting source code from IBM i, calling GPT-4o and IBM Granite via API, prompt engineering for RPG documentation, building a batch documentation pipeline, and creating a semantic search knowledge base over your entire IBM i codebase.

DB2 for i

DB2 for i Triggers in 2026: SQL and External Triggers, BEFORE and AFTER Timing, Audit Logging, and Calling RPG from a Trigger

DB2 for i triggers fire automatically on INSERT, UPDATE, and DELETE, enforcing rules that application code cannot bypass. This post covers SQL and external trigger types, BEFORE and AFTER timing, transition variables, writing audit tables, calling RPG programs from external triggers using ADDPFTRG, and practical audit and validation patterns.

DB2 for i

Vector Search and Embeddings on IBM i in 2026: Storing Vectors in DB2 for i, Cosine Similarity in SQL, and Semantic Search over IBM i Data

Vector search and text embeddings bring semantic search to IBM i in 2026 — converting DB2 for i text fields into float arrays via OpenAI or watsonx.ai, storing vectors as VARBINARY or JSON in DB2, computing cosine similarity in SQL, and building RAG pipelines that ground LLM answers in real IBM i business data. This post covers the full embedding pipeline from generation to retrieval.

DB2 for i

DB2 for i Replication in 2026: Journal-Based CDC, Q-Replication, MIMIX, and Designing a Replication Strategy

DB2 for i replication in 2026 is built on IBM i journals — the same journal receivers that underpin HA tools and Kafka CDC also power Q-Replication and MIMIX. This post explains journal-based logical replication, the Q-Replication Capture and Apply architecture, what MIMIX adds for HA and DR, and how to design a replication strategy that matches your latency targets and data distribution needs.

Modern Integrations

IBM i and Apache Kafka in 2026: Journal-Based CDC to Kafka Topics, PASE Producers, and Event-Driven IBM i Integration

A hands-on guide to connecting IBM i with Apache Kafka in 2026 — running kafkajs and confluent-kafka-python producers in PASE, journal-based change data capture using QSYS2.DISPLAY_JOURNAL, Kafka Connect via IBM MQ bridge, consuming Kafka messages to write back into DB2 for i, and practical event-driven architecture patterns for IBM i integration.

Scroll to Top