Midrange source delivery

Updated

Use these instructions to collect IBM i / AS400 application source for CAST analysis. RPG and COBOL/400 / ILE COBOL share an ecosystem of libraries, source members, CL commands, DDS definitions and Db2 for i objects. Collect the languages actually used and their shared dependencies in one identified application baseline.

Start with the Midrange Ecosystem to identify the source, data and runtime layers before collecting the files.

  1. Confirm scope and prerequisitesIdentify languages, source libraries, owners and application baseline.
  2. Extract a sampleExport source members or IFS files with the correct CCSID conversion.
  3. Package the filesPreserve library/member identity, extensions and build context.
  4. Check and hand overResolve includes, record definitions and application entry points.
  5. Keep the delivery currentTrack each application baseline, refresh trigger and accepted analysis.

IBM i / AS400 delivery instructions

Language or artifact family Where to start
RPG RPG extraction, packaging and preparation checklist
COBOL/400 / ILE COBOL COBOL extraction, packaging and preparation checklist
CL / CLLE / CLP CL source collection
DDS and Db2 for i SQL File and database definitions
ILE linkage, optional IFS scripts, messaging and operations Complete IBM i application delivery guide

The complete IBM i guide combines source-member extraction, file extensions, folders, preparation checklist and handover checks. Use IBM i source-member/stream-file exports or SCM/IFS delivery; z/OS PDS dump settings do not apply.

Analyzer references

For IBM z/OS and MVS / OS/390 applications, use Mainframe Expected Input.

5. Keep the delivery current

Workflow step 5 — repeat per system/application. After the first accepted delivery, maintain a separate refresh record for each application and environment. A change starts the next Confirm → Extract → Package → Check → Keep current cycle; it does not require requalifying unchanged scope from scratch.

Action What to do for the next delivery
Identify the baseline Record the system/application, environment, release/tag or source snapshot, extraction date and previous accepted delivery. Keep independent applications and environments identifiable.
Agree a refresh trigger Refresh at an application release, a significant source/build/runtime/data-definition change, or an agreed cadence. Record the trigger and responsible owner.
Refresh the complete scope Include current reusable source and relevant database, transaction, file and job definitions, not only changed programs. Preserve shared-library lookup order and document any metadata extracted at a different time.
Handle additions and deletions Use a complete current snapshot by default. Use incremental delivery only when the receiving process explicitly supports it and defines how to reconcile changed, added, renamed and deleted files/objects.
Revalidate the procedure Reuse the approved extraction procedure and settings. Recheck encoding, recognition, counts and dependencies; repeat a representative sample when source format, exporter, import settings or analyzer version changes.
Track acceptance and analysis Distinguish the latest prepared/delivered baseline, the latest accepted baseline and the latest successfully analyzed baseline. Record dates, results and unresolved items; a transferred archive alone does not confirm a successful analysis.
Maintain ownership Name who runs/maintains extraction, who receives/validates the delivery and who resolves missing source or failed exports. Keep the procedure and change history with the team’s normal delivery records.

Example: after delivery of release R1, a new R2 release changes a program, shared include and database definition. Collect the current application snapshot and matching dependencies/definitions, validate and deliver it as R2. Keep R1 as the last successfully analyzed baseline until R2 analysis succeeds; record failures or outstanding items against R2 rather than assuming the graph is current.

Use an existing manifest, release record or delivery ticket to track this cycle. The optional inventory note below explains one possible handover format.

Why keep a delivery inventory?

A delivery inventory is a recommended handover aid. It explains what was collected so the person preparing or analyzing the delivery can:

  • Trace the files: map exported paths back to source libraries and members, distinguish same-named members, and identify program, copybook or definition roles.
  • Check completeness: compare expected and delivered counts, identify missing dependencies and exclusions, and record who can resolve outstanding items.
  • Interpret and repeat the export: record the source baseline, extraction date, encoding, Easy/Advanced route where applicable, and import settings so later deliveries can be compared.

delivery-inventory.txt is an example filename proposed by this guide, not a required CAST input or prescribed format. Reuse an existing manifest, README, spreadsheet or delivery ticket if it contains the relevant information. Keep it alongside the delivery as supporting documentation, separate from source selected for analysis. Build/runtime settings are also supporting context to include where relevant to source interpretation or dependency resolution.