Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Our Real-World Cases of AI-Driven Development i...

Our Real-World Cases of AI-Driven Development in IBM i + RPG

TechTalk at TechXchange2026 in Atlanta

Avatar for Takashi Fujinuma

Takashi Fujinuma

November 04, 2026

More Decks by Takashi Fujinuma

Other Decks in Technology

Transcript

  1. [TLK-1431] Our Real-World Cases of AI-Driven Development in IBM i

    + RPG - May the Bob be with us Takashi Fujinuma Senior Manager, IGUAZU Corporation Atlanta, GA October 26–29 Tuesday, Oct 27 3:00 PM - 3:20 PM EDT
  2. I'd like to talk about 01 Our challenge 02 AI-driven

    development process 03 May the Bob be with us IBM TechXchange | © 2026 IBM Corporation
  3. Who am I? Takashi Fujinuma Bio: 2026, IBM Champion 2025,

    joined the technology preview of Project Bob Guitarist 2024, participated in the public preview of watsonx Code Assistant for i 2018, developed a meeting minutes summarization solution (Watson Speech to Text) 1991, infrastructure engineer for IBM i (AS/400) IBM TechXchange | © 2026 IBM Corporation 4
  4. Our challenge: AI-driven RPG development using IBM Bob IGUAZU is

    a Value Added Distributor of IBM hardware, software, and services Alpha Communications, our group company, has long focused on RPG development Now, we're renewing our information portal with IBM Bob IBM i × RPG × Python IBM TechXchange | © 2026 IBM Corporation
  5. Renewing Information Portal Site: Project in Progress IGUAZU Enterprise System

    Landscape Web system(Python) Sales Management System(RPG on IBM i ) Installed Base Management Quote/Order Subsystem Quote Request Management Order and Delivery Management Shipping/Sales Subsystem Procurement Subsystem Order Subsystem AR, Billing, and Collections Subsystem Accounts Payable and Payment Subsystem Inventory Subsystem Accounting System IBM TechXchange | © 2026 IBM Corporation EDI
  6. AI-driven development process Powered by Premium Package for i IBM

    i RPG Source Download Directly RPG source code is stored locally. C:/ 1. AGENTS.md Created by Bob from Alpha Development Standards.txt - Always Loaded 2. SKILL.md Created by Bob from Alpha Development Standards.txt - Called only when coding Compile Automatically 3. workspace folder (/workspace_root) Bob created locally 4. Storing RPG sources in text Bob downloads to the workspace folder. No copy-and-paste or file transfer needed! IBM TechXchange | © 2026 IBM Corporation 7
  7. Generate source 5x speed Compile Using this RPG as a

    reference, please create a new RPG named TST011 that adds update logic Do not use Japanese in the comments — please write them in alphanumeric characters only. Japanese comments exceeded the fixedlength field, causing compile errors. IBM TechXchange | © 2026 IBM Corporation 8
  8. Bob picked the right skill on its own I’m using

    my SKILL.md & AGENTS.md properly. IBM TechXchange | © 2026 IBM Corporation 9
  9. Bob compiled it on IBM i by itself Leave it

    to me. 350 lines of code · 6.5 Bobcoins IBM TechXchange | © 2026 IBM Corporation 10
  10. What about Python? (40 .md Files) Guide Lines I will

    follow your instructions IBM i table IO rules.md IBM i table IO seq rules.md IBM i table naming rules.md Backend-guide.md(Python// FastAPI / DB2 on AS/400) common-components-design.md error-handling-guide.md process-management-rules.md . . . . . . IBM TechXchange | © 2026 IBM Corporation 11
  11. UPDATE: AGENTS.md now lives on IBM i New slash command

    /init in Premium Package for i Until now AGENTS.md on the PC Local workspace folder Created from Alpha Development Standards.txt (see slide 6) Now: /init QSYS: the AGENTS.MD member of the BOBSRC source file IFS: .bob/AGENTS.md Guidelines stored in either place are loaded automatically into IBM i Developer mode and Database mode. QSYS workspace {currentLibrary}/QBOBSRC/AGENTS.MD IFS workspace {ifsWorkingDirectory}/.bob/AGENTS.md Auto-injected into IBM i Developer & Database modes Only the AGENTS.MD in the current library is loaded IBM TechXchange | © 2026 IBM Corporation 12
  12. Force with May the Bob bebe with usyou Define the

    rules in .md — Bob reads them on its own Pull the source to local — via Premium Package for i Just say “create new RPG"— back to IBM i and compiles Works for Python, too — already in action IBM TechXchange | © 2026 IBM Corporation 13
  13. Notices and disclaimers © 2026 IBM Corporation. All rights reserved.

    This document is distributed "as is" without any warranty, either express or implied. In no event shall IBM be liable for any damage arising from the use of this information, including but not limited to, loss of data, business interruption, loss of profit or loss of opportunity. Examples presented are illustrative only. Actual results will vary based on client configurations and conditions and, therefore, generally expected results cannot be provided. Workshops, sessions, and associated materials may have been prepared by independent session speakers and do not necessarily reflect the views of IBM. Not all offerings are available in every country in which IBM operates. Statements regarding IBM's future direction, intent, or product plans are subject to change or withdrawal without notice, and represent goals and objectives only. Certain comments made in this presentation may be characterized as forward looking under the Private Securities Litigation Reform Act of 1995. Forward-looking statements are based on a company's current assumptions regarding future business and financial performance. Those statements by their nature address matters that are uncertain to different degrees and involve a number of factors that could cause actual results to differ materially. Additional information concerning these factors is contained in the Company's filings with the SEC. Copies are available from the SEC, from the IBM website, or from IBM Investor Relations. Any forward-looking statement made during this presentation speaks only as of the date on which it is made. The Company assumes no obligation to update or revise any forward-looking statements except as required by law; these charts and the associated remarks and comments are integrally related and are intended to be presented and understood together. IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of IBM Corporation, in in the U.S. and/or other countries Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on ibm.com/trademark. IBM TechXchange | © 2026 IBM Corporation 15
  14. 開発標準をもとにBobが作ったAGENTS.mdとSKILL.md AGENTS.md SKILL.md ## 開発ガイドライン ## RPGコーディング規約 ### RPGプログラム開発時の注意点 1.

    **ファイル定義** ### サンプルプログラム構成 - 必ずエラー処理を有効化(E指定) Back_Sampleフォルダ内に郵便番号マスタメンテのサンプルプログラムを配置 - 更新処理ではCOMMIT制御を指定 Guideline Common #### 物理ファイル (PF) 2. **パラメータ定義** (開発ガイドライン) - **AAMPSTP.dds**: マスタ物理ファイル(サンプル:郵便番号マスタ) - 入出力パラメータは明確に分離 Rules - 標準パラメータセットを必ず含める #### 論理ファイル (共通ルール) (LF) - **AAMPSTL01.dds**: マスタ論理ファイル01(サンプル:郵便番号マスタ) 3. **初期化処理** - 出力パラメータは必ず初期化(#S870サブルーチン) #### RPGプログラム - 標識は`MOVEA *ALL'0' *IN(01)`でクリア - **AASMI010.rpgle**: 明細取得プログラム(サンプル) - **AASMI011.rpgle**: 単票取得プログラム(サンプル) 4. **ファイル操作** - **AASMI012.rpgle**: 更新電文プログラム(サンプル) - キー指定読込は必ず標識でチェック - 論理削除はMADELTフィールドを使用 ### プログラム構造規約 5. **トランザクション** #### 1. ヘッダー部 - 更新処理は必ずCOMMIT/ROLBKで制御 ```rpg - エラー時は必ずロールバック ********************************************************************** * 6. **終了処理** *プログラム : [プログラムID] - 継続処理がない場合は`SETON LR`で終了 * :[プログラム名称] - 正常終了時は適切なメッセージをセット * *作成者 : [作成者名] [作成日] ### フロントエンド開発時の注意点 *変更者 : *変更内容 : 1. **JDBC接続** * - IBM i Toolbox for Java使用 ********************************************************************** - 接続プールの適切な管理 H DATEDIT(*YMD/) ``` 2. **RPGプログラム呼び出し** - パラメータの型と桁数を厳密に一致させる - 文字列は必ずパディング処理 3. **エラーハンドリング** - リターンコード、結果コードを必ずチェック - メッセージは適切にユーザーに表示 Trigger phrases & Gather Requirements (呼び出し条件とヒアリング) Apply Coding Standards (規約の適用) Copyright 2026 IGUAZU Corporation 17