Midrange Ecosystem
This overview explains the IBM i / AS400 / iSeries application ecosystem covered by the Midrange delivery guides. Start here to identify the languages, source locations, data definitions and execution context that belong to an application. Then use Expected Input to collect them.
IBM i is documented separately from IBM z/OS. Its source members, libraries, CL commands, DDS and Db2 for i require their own collection approach; the Mainframe extended/limited support groups do not define IBM i coverage.
An RPG or COBOL program may depend on shared include members, CL launch programs, externally described files and ILE service programs. Collect the relevant definitions and source together, even when different teams maintain them.
1. Understand the application layers
The diagram is a reading guide to the ecosystem, not a guarantee that every runtime object or configuration file becomes an analyzer object.
- Entry points and operations
Interactive commands, CL launch programs, scheduled jobs, job queues and transfer scripts start or coordinate application work.
- Application logic and shared source
RPG, COBOL and CL programs use copy/include members, call other programs and invoke reusable procedures.
- Runtime linkage and name resolution
Programs, modules, service programs, binding information, library lists and file overrides explain which implementation or object is selected.
- Data, screens, reports and integration
Db2 for i SQL and DDS describe application data and record formats. Display/printer definitions, messaging and IFS configuration complete the application context.
Example: a scheduled job starts a CL program that sets the library list and calls an RPG program. The RPG source includes shared definitions, uses a service program and reads an externally described file. The delivery therefore needs the CL and RPG source, includes, relevant linkage information and DDS/SQL definitions—not only the entry program.
IBM describes the relationship between jobs, queues and subsystems in its work-management overview . Those runtime descriptions help identify application scope; confirm their analysis coverage separately.
2. Identify languages and source families
| Family | Role in the application | Source and definitions to identify | Delivery and analyzer references |
|---|---|---|---|
| RPG III / RPG IV / ILE RPG | Business logic, file processing, interactive or batch programs | Programs, copy/include members, embedded SQL declarations, source format and compile commands | RPG collection sheet; RPG extension |
| COBOL/400 / ILE COBOL | Business programs and reusable record definitions | Programs, copybooks, SQL includes, compiler options and called application source | COBOL collection sheet; Mainframe Analyzer for documented COBOL dialect coverage |
| CL / CLLE / CLP | Launch logic, library setup, file overrides, program calls and job submission | CL source, application command definitions, called programs and launch parameters | CL collection sheet; RPG / CL400 extension |
| DDS | Record formats for physical/logical files, display files and printer files | Source defining the application files and record layouts, plus referenced object/library names | DDS collection sheet; RPG / DDS400 extension |
| Db2 for i SQL | Tables, views, routines and SQL-based access | DDL, SQL routine source, query source, SQL includes and schema mappings | Database collection sheet; SQL Analyzer |
| Optional application scripts in IFS | Build, launch, integration and transfer tasks, only where used by the application | Maintained scripts, called application scripts, interpreter versions and configuration templates | Script collection sheet; confirm the applicable language analyzer |
CL on IBM i is distinct from z/OS JCL and TSO CLIST. Use the IBM i CL collection instructions rather than the Mainframe JCL or CLIST procedure.
The versioned RPG documentation defines supported language formats, required suffixes and known limitations. The Midrange coverage page provides the product-level entry point. An ecosystem relationship alone is not a support commitment.
3. Locate source and distinguish it from runtime objects
| Term | Meaning for collection | What to preserve |
|---|---|---|
| Library | An IBM i object namespace containing files, programs and other objects | Original library names and the build/runtime library lookup order |
| Source physical file | A file containing source members; familiar names include QRPGLESRC or QCLSRC, but installations can choose other names | Library, source file name, member identity, member type and source CCSID |
| Source member | A maintained unit of source inside a source physical file | One exported text file per member, its source role and original identity |
| IFS source / SCM tree | Source stored as stream files or maintained in a repository | Original paths, case, revision, encoding and build/dependency structure |
| Compiled program / module / service program | A runtime or build object produced from source | Relevant source-to-object and linkage descriptions; compiled objects alone do not replace readable application source |
| Database or device file definition | SQL/DDS source describing an application object’s structure or record formats | Maintained definition source or readable schema export, plus logical-to-actual object mappings |
For example, APPLIB/QRPGLESRC/ORDERUPD identifies a source member, while an exported ORDERUPD.rpgle identifies its delivered text file. Preserve the original mapping so same-named members in different libraries remain distinguishable.
A source physical file containing program members and a physical database file containing business records serve different purposes. This delivery requests source and definitions; exporting business records is not a substitute.
See IBM’s source physical-file example . For the source suffixes and one-member-per-file conventions expected by analysis, use the RPG source-preparation reference, selecting the relevant installed extension version.
4. Collect the context that connects the source
ILE modules, service programs and binding
An ILE program can combine modules and use procedures supplied by service programs. Binding information helps explain links between maintained source and deployed programs. IBM describes the binding process and binding directories .
Identify application binder source, compile/create commands, exported procedure names and binding-directory/service-program descriptions where relevant. Collect maintained source for application-owned dependencies; identify externally supplied dependencies by product/version. Use the ILE linkage collection sheet. Do not assume runtime object reports are automatically parsed as source.
Library lists and file overrides
Record the library order and file overrides used to build and run the application. A source reference or unqualified object name may be resolved differently in another environment; keep development, test and production mappings identifiable. These settings are supporting context for resolving the delivered application, not a request to copy unrelated system configuration.
DDS and Db2 for i
Identify whether each referenced file/record format is maintained with DDS, SQL or another generation process. Include relevant physical/logical file definitions, views, routines and generated application declarations. DDS logical files can refer to underlying physical files; preserve those identities and relationships. See IBM’s DDS overview .
Use the Db2 for i DDL extraction guide for database export and the installed RPG and SQL Analyzer documentation to establish which inputs are processed by each extension. Display/printer definitions and runtime resources require their own coverage checks.
Jobs, scheduling, messaging and transfers
Identify scheduled and interactive entry points, CL command chains, job descriptions, queues and application-specific startup settings. Collect readable scheduler/transfer configuration and application message layouts when they explain how the application operates. Keep these exports identifiable as supporting context unless analyzer coverage is confirmed.
Use the CL collection sheet for application launch source and the messaging collection sheet for integrations. A report describing a job or queue is different from the CL program or file definition it references.
5. Choose the IBM i extraction approach
Easy · Source-member export
Use when the source owner can export an identified set of application members through established IBM i tooling. Deliver one readable file per member and preserve library/source-file/member identity, language suffix and encoding.
Advanced · Scripted export
Use for recurring deliveries, named SCM baselines, many libraries or mixed member/IFS source. Automate the approved export process and produce a file/member mapping, counts and an export log. Apply the same source-access and transfer controls.
PDS dump: not applicable to this IBM i source-member/IFS workflow. Reuse the five-step delivery process, not the z/OS library-dump format. Record source CCSIDs and delivered encoding, preserve source columns, and check the actual exported text before collecting the full baseline.
Files stored in the IFS can be exported directly from the maintained filesystem/SCM baseline. Definitions held in database, scheduler or messaging repositories need their product-specific readable export, not an archive of compiled objects or business data.
6. Continue with delivery and coverage
- Identify the application languages and source locations using this ecosystem overview.
- Check Midrange Covered Technologies and the applicable analyzer version.
- Follow Expected Input and the complete IBM i delivery guide: Confirm → Extract → Package → Check → Keep current.
- Maintain separate application/environment baselines and distinguish the latest delivered version from the latest successfully analyzed version. Use the delivery refresh checklist.
Return to Midrange documentation. For IBM z/OS or MVS / OS/390 applications, use the separate Mainframe Ecosystem.