...
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. |
...
Icon | Object 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 | |
RPG IV Missing Procedure |
Analysis messages
RPG-001
Identifier | RPG-001 |
---|---|
Message | Cannot resolve copy ... |
Severity | Warning |
Explanation | Analyser could not find the source file included by a /copy statement. This can lead to various missing results. |
User Action | Ensure that all required source code is packaged and delivered. |
...
The following structural rules are provided:
3.1.01-funcrel | https://technologies.castsoftware.com/rules?sec=srs_rpg&ref=||3.1.01-funcrel |
---|---|
3.1.0-beta4funcrel | https://technologies.castsoftware.com/rules?sec=srs_rpg&ref=||3.1.0-beta4funcrel |
3.1.0-beta3beta4 | https://technologies.castsoftware.com/rules?sec=srs_rpg&ref=||3.1.0-beta3beta4 |
3.1.0-beta2beta3 | https://technologies.castsoftware.com/rules?sec=srs_rpg&ref=||3.1.0-beta2beta3 |
3.1.0-beta1 beta2 | https://technologies.castsoftware.com/rules?sec=srs_rpg&ref=||3.1.0-beta1 |
...
...
...
Limitations
- in RPG
- dynamic calls and dynamic SQL is not supported