rpg3-expert

Explain RPG III columnar specs and migration to RPG ILE on IBM i.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/SylvainArmonie/armonie-group-armonie-ibmi-skills --skill rpg3-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rpg3-expert
Source: https://github.com/SylvainArmonie/armonie-group-armonie-ibmi-skills/tree/main/plugins/armonie-ibmi-skills/skills/rpg3-expert
Command: npx skills add https://github.com/SylvainArmonie/armonie-group-armonie-ibmi-skills --skill rpg3-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solves the challenge of understanding and applying RPG III (RPG/400) columnar specs on IBM i.

Core Features & Use Cases

It offers expert guidance on reading legacy RPG III programs, migrating code to RPG ILE, and designing 5250 DSPF screens. It covers syntax rules, file access patterns, subroutines, and screen/interface patterns with practical examples.

Quick Start

Load the RPG III expert content and search the references to jump-start a legacy RPG III task.

Frequently Asked Questions about rpg3-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read legacy RPG III fixed-column specifications on IBM i?

RPG III fixed-column specifications on IBM i are structured into H, F, E, I, and C columns. The specification types define header settings, file descriptions, extensions, inputs, and calculations, using strict columnar positioning for syntax.

What is the best way to migrate RPG/400 code to RPG ILE?

Migrating RPG/400 to RPG ILE involves converting fixed-column RPG III syntax into free-format RPG IV. This requires translating columnar C specs, indicators, and file access patterns into modern ILE equivalents.

How do I design 5250 DSPF screens using RPG III?

Designing 5250 DSPF screens with RPG III uses the E specification for screen formats. You define display file indicators and field positions to interface with columnar RPG III program logic.

How do indicators work in RPG III columnar specs?

Indicators in RPG III columnar specs control conditioning and resulting operations. They are assigned in fixed columns across I, C, and F specs to manage file access, calculations, and screen display logic.

Does this support troubleshooting subroutine usage in legacy RPG III programs?

Yes, troubleshooting subroutine usage in legacy RPG III is supported. The skill provides reference material and examples for applying standard RPG III rules to trace and resolve issues within C spec subroutines.

When do I need to use fixed-column RPG III syntax instead of free-format?

Fixed-column RPG III syntax is needed when maintaining or migrating existing RPG/400 legacy code on IBM i. It applies to reading older programs before converting them to free-format RPG ILE.