Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Source code type

iSeries library

Required extension

Used in MetaModel

RPG-III programs

QRPGSRC

*.rpg, *.rpg38

RPG300

ILE RPG Programs

QRPGLESRC

*.rpgle

RPG400

ILE RPG Programs with SQL

QSQLRPGLESRC

*.sqlrpgle

RPG400

Copy source members

QCPYLESRC

*.cpyle

RPG400

CL programs

QCLSRC

*.cl, *.clp, *.cl38, *.clp38

CL400

ILE CL Programs

QCLLESRC

*.clle

CL400

Display Files

QDDSSRC

*.dspf, *.dspf38

DDS400

Printer Files

QDDSSRC

*.prtf, *.prtf38

DDS400

Logical Files

QDBSRC

*.lf, *.lf38

DB400SQL Analyzer/DDS400

Physical Files

QDBSRC

*.pf, *.pf38

DB400SQL Analyzer/DDS400


Info
The RPG Analyzer is able to autodetect RPG III versus RPG IV, so there is no difference in using *.rpg or *.rpgle. What is very important is to distinguish between Display, Printer, Logical and Physical files using the specific file extensions listed in above table.

...

IconObject Name
RPG IV Project
RPG IV Program
RPG IV MainSubroutine
RPG IV Subroutine
RPG IV File Printer
RPG IV File Disk
RPG IV File Workstn
RPG IV File Special
RPG IV File Seq
RPG IV Procedure
RPG IV Procedure Prototype
RPG IV Copy Member

RPG IV Call to Generic Program

RPG IV EXEC SQL

RPG IV Module

RPG IV Missing Copy Member

RPG IV Missing Physical/Logical File

RPG IV Missing Display File

RPG IV Missing Printer File

Image Added

RPG IV Missing Procedure

Analysis messages

RPG-001

IdentifierRPG-001
MessageCannot resolve copy ...
SeverityWarning
ExplanationAnalyser could not find the source file included by a /copy statement. This can lead to various missing results.
User ActionEnsure that all required source code is packaged and delivered.

...

The following structural rules are provided:

...

...

...

Limitations

  • in RPG
    • dynamic calls and dynamic SQL is not supported