Mainframe source delivery

Updated

A source delivery is the set of application source files, shared definitions and runtime descriptions provided for CAST analysis. Start with the deployment platform, then collect the languages and services used by the application.

  1. Confirm scope and prerequisitesIdentify source owners, application boundaries and languages in scope, scheduler jobs and launch chains, and dependencies on called programs, copybooks/includes, databases, files and middleware.
  2. Extract a sampleChoose direct files or the applicable PDS dump route.
  3. Package the filesApply extensions, folders and the delivery manifest.
  4. Check and hand overValidate the sample, then collect the full baseline.
  5. Keep the delivery currentTrack each application baseline, refresh trigger and accepted analysis.

Delivery instructions by platform

Each guide contains collection sheets for applicable languages and runtime/data technologies: 1. Confirm → 2. Extract → 3. Package → 4. Check, with analyzer references, followed by 5. Keep the delivery current for each system/application. These documentation groups do not replace the versioned analyzer support matrix.

Platform with extended support

Platform Languages and source families to identify Delivery guide
IBM z/OS / Enterprise COBOL COBOL and copybooks; PL/I and includes; Assembler / HLASM and macros; Easytrieve; REXX; CLIST; JCL / PROC. Also identify Natural, SAS, Focus, NOMAD and UNIX System Services scripts when present, with coverage confirmed separately. z/OS delivery instructions
IBM MVS / OS/390 legacy COBOL Legacy COBOL and copybooks; PL/I; Assembler; REXX / CLIST; JCL / PROC; other reporting languages actually present. Legacy delivery instructions

z/OS is the platform; Enterprise COBOL is one language family on it. Collect every language used by the application, plus its CICS, IMS, Db2, file and operational definitions where applicable. The extended support grouping does not imply identical analyzer coverage for every language.

Direct access to z/OS language instructions

Language or source family Instructions
COBOL programs and copybooks Preparation checklist, Easy/Advanced extraction and packaging
PL/I programs and %INCLUDE members PL/I delivery
Assembler / HLASM source, macros and COPY members Assembler delivery
Easytrieve programs and macros Easytrieve delivery
REXX and CLIST scripts REXX / CLIST delivery
JCL jobs, PROCs, INCLUDEs and control cards Batch source delivery
Natural, SAS, Focus, NOMAD and other reporting languages Product-specific source delivery and coverage qualification
UNIX System Services and other application scripts Script delivery

CICS and IMS are runtime technologies, and Db2 is a database rather than a program language. Collect their runtime, database and operational definitions alongside program source.

Platform with limited support

Qualify a representative source sample, compiler settings and runtime dependencies before agreeing the full delivery. Existing platform-specific limitations and unsupported statuses continue to apply.

Platform Delivery guide
Micro Focus Visual COBOL Delivery instructions
Micro Focus ACUCOBOL-GT Delivery instructions
Micro Focus RM/COBOL Delivery instructions
Micro Focus COBOL-IT Delivery instructions
Fujitsu NetCOBOL Delivery instructions
GnuCOBOL / OpenCOBOL Delivery instructions
Veryant isCOBOL Delivery instructions

The ecosystem inventory lists the other platforms in this group, including the former lower-priority legacy and site-specific runtimes. Use their documented support/qualification notes to define the appropriate source sample and collection scope.

IBM i / AS400 belongs to Midrange

Use Midrange Expected Input for delivery instructions covering RPG and IBM i / AS400 / ILE COBOL, together with CL, DDS and Db2 for i. IBM i is outside the two mainframe platform groups above.

How to use these pages

  1. Read the ecosystem overview to understand languages, transaction managers, databases and operational services.
  2. Follow the delivery guide for each platform used by the application. Use each language’s questions to identify the source owner, libraries, build settings and missing dependencies; validate a representative export before collecting the full baseline. The instructions are visible together and can be printed or shared with the source owner.
  3. Use the Mainframe Analyzer documentation to check supported inputs and configuration for the version used for analysis. Other languages can require separate extensions.

The preparation reference retains the detailed Console PDS configuration information. The qualification reference retains background questions and analyzer behavior.

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.