RPG IV

1 program Added 2025-10-22T15:16:26Z Model: openai/gpt-4oTemp: 0.4 Evidence Report issue View issues
Aliases: RPGLE, RPG/ILE
Provenance: commit df9cd3eb50 · authored 2025-10-22T17:16:26+02:00 · model openai/gpt-4o

Sources mentioning this language

2 sources · pl_id: pl/rpgle
LLM (this repo) · 1Linguist

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.rpglelinguistprimary36.9K files
.sqlrpglelinguistsecondary7.4K files

Related languages

RPGLE (1.00)RPG (0.57)IBM RPG (0.48)RPG III (0.28)RPG II (0.19)

LLM-contributed programs

Simple RPG IV Program

Provenance: commit df9cd3eb50 · authored 2025-10-22T17:16:26+02:00 · model openai/gpt-4o · Temp 0.4
code.rpgle · added: 2025-10-22T15:16:26Z
H DFTACTGRP(*NO) ACTGRP('MYACTGRP')
FMYFILE   IF   E           K DISK
D* Define variables
D Name            S             10A
C* Read the file
C     MYFILE    IF   E
C     READ      MYFILE
C     DOW       NOT %EOF(MYFILE)
C* Process each record
C     EVAL      Name = %TRIMR(Name)
C     WRITE     MYFILE
C     READ      MYFILE
C     ENDDO
C     SETON                                        LR

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about RPG IV (mapped to pl/rpgle). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/RPG IV/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← RPG III RPGLE →