rpg2-cycle-expert

Explain the RPG II cycle and GAP implicit processing for learners.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps learners grasp the complex RPG II cycle (GAP) and implicit processing, turning opaque references into a structured pedagogical explanation.

Core Features & Use Cases

  • Pedagogical framework to explain the 16-step cycle, indicators, and ruptures with analogies and diagrams.
  • Code comprehension support for reading and explaining RPG II cycle programs (e.g., bongap1.rpg, bongap2.rpg) and applying the method to new examples.
  • Guided practice for identifying F/I/C/O specifications and tracing cycle execution from input to output.

Quick Start

Open bongap1.rpg and walk through the 16-cycle steps with sample data.

Frequently Asked Questions about rpg2-cycle-expert

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

FAQPage Schema
What is the RPG II cycle and how does GAP implicit processing work?

The RPG II cycle is a 16-step implicit processing loop where GAP logic automatically handles input, calculations, and output. This framework explains each step, indicators, and ruptures using analogies and diagrams for learners.

How do I read and trace RPG II cycle programs using F/I/C/O specifications?

Trace RPG II cycle programs by identifying F/I/C/O specifications and following the 16-cycle steps from input to output. Guided practice with sample programs like bongap1.rpg demonstrates this method.

How do LR, 1P, and L1-L9 indicators control ruptures in RPG II?

LR, 1P, and L1-L9 indicators control ruptures in RPG II by triggering specific calculation and output operations at different cycle stages. The framework explains how these indicators manage processing breaks.

What is the best way to teach the RPG II cycle to novices in a classroom?

Teach the RPG II cycle to novices using a structured pedagogical framework with analogies, diagrams, and sample programs. This approach breaks down the 16 steps, indicators, and ruptures for classroom training.

Can I use this RPG II cycle explanation method for code reviews?

Yes, you can apply this RPG II cycle explanation method to code reviews. It provides code comprehension support by tracing cycle execution, identifying specifications, and explaining implicit processing logic.