IBM MVS / OS/390 legacy COBOL application delivery instructions

Updated

Use this guide for an application maintained in a legacy MVS or OS/390 source environment, including VS COBOL II or COBOL for OS/390. Identify the actual compiler and source baseline; the age of the application alone does not determine its dialect.

Preparation and collection workflow

Use this guide to prepare your own application delivery or to coordinate collection on behalf of another team. Work with the relevant source, platform and database owners when their access or expertise is needed.

For each language or technology present, follow 1. Confirm → 2. Extract → 3. Package → 4. Check in its collection sheet below. Then apply 5. Keep the delivery current to the complete system/application using the refresh checklist at the end of this guide. Confirm the information in each checklist before collecting a full export. Record the responsible owner, files to collect, agreed baseline and any outstanding items in a delivery inventory.

First collect a representative program, its reusable source and its build/launch settings. Check that the sample opens correctly and that referenced members can be located, then collect the complete application baseline. Directory names below are examples. File extensions explicitly linked to analyzer documentation reflect that reference version; other extensions are packaging conventions to confirm in the target import configuration.

  1. Confirm scope and prerequisitesIdentify source owners, scope and dependencies.
  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.

1. Identify the legacy environment

Record the operating system, compiler/dialect and version if known, source encoding, source format, application entry points and source-library inventory. Identify SCM exports, PDS libraries, shared COPY libraries and generated or preprocessed source. If the source has been migrated to z/OS or a distributed runtime, record both its original dialect and current execution environment.

This platform is grouped under Platform with extended support. The platform support reference distinguishes legacy COBOL from the z/OS Enterprise COBOL reference case; confirm analysis scope using representative source.

2. Collect each language family

Family, when present Deliver
Legacy COBOL Application programs and subprograms, all COPY members, SQL declarations and preprocessing inputs
JCL Jobs, cataloged/application procedures, INCLUDE members and utility control cards
Assembler Application source, macros, COPY members, shared layouts and linkage definitions
PL/I Application source, include libraries, compiler options and preprocessing settings
REXX / CLIST and reporting languages Application scripts/programs, reusable definitions and launch context

Preserve original columns, continuation conventions, compiler directives and library search order. Record compiler-specific syntax and externally supplied routines; do not rewrite the delivered source to a newer dialect. Use the language sheets below to prepare the interview and extraction request; adapt the compiler/runtime details to the legacy environment.

COBOL

Analyzer reference: Mainframe Analyzer — COBOL and copybooks; check platform/dialect limitations for the installed version.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which compiler/version and source format build this application? Record dialect, fixed/free format, encoding and compiler options.
Where are COPY members found, and in what order? Obtain every application copybook, including shared/generated libraries; record ordered paths.
Is SQL or another preprocessor used? Obtain SQL includes/DCLGEN, schema definitions, preprocessor commands and generated source with provenance.
Which programs are entry points, dynamically called or supplied externally? Obtain launch definitions and called application source; list external or missing modules.
Which baseline represents the application to analyze? Record SCM revision or extraction date, source owner and excluded components.
Is this VS COBOL II, COBOL for OS/390 or migrated source? Record original/current compiler and inspect legacy-specific syntax.
Which online managers and database versions are involved? Collect the definitions available for those installed releases and matching JCL.

2. Extract a representative sample

  1. Identify the actual legacy compiler, SCM baseline and source/COPY libraries with the source owner; include shared libraries and SQL declarations.
  2. Export program and copybook members as individual readable text files, retaining dataset/member names in the manifest.
  3. If individual exports are unavailable, request separate program and copybook text dumps using the PDS instructions. Have the source owner confirm that the extraction utility and sample JCL suit the legacy environment.
  4. Verify encoding, fixed columns and legacy directives after transfer. Keep the original source dialect intact.

3. Package the extraction

Deliver one program per .cbl or .cob file and one copybook per .cpy file, unless the project uses another extension convention agreed with the receiver. Preserve original filenames and directory structure when the build relies on them; document any extension mapping instead of renaming files blindly.

cobol/programs/ORDERUPD.cbl
cobol/copybooks/CUSTOMER.cpy
cobol/generated/SQLCUSTOMER.cpy
build/compiler-options.txt
build/copybook-paths.txt

Record original path/member, delivered path, artifact role, encoding and baseline in delivery-inventory.txt. Preserve source columns and continuation lines. Include build and runtime configuration beside the source; compiled modules and listings do not replace it.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

PL/I

Analyzer reference: PL/I Analyzer.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which libraries resolve %INCLUDE and macro references? Collect every application include and the ordered search paths.
Are SQL, CICS, IMS or macro preprocessing used? Collect SQL declarations, runtime definitions, preprocessors and generated source.
Which external names or entry aliases link PL/I to other languages? Collect interface declarations and map called names to source modules.

2. Extract a representative sample

Export application PL/I members and every referenced %INCLUDE member from SCM or the source/include libraries. Include macro/preprocessor inputs, generated SQL declarations and compile commands. On MVS/z/OS, preserve dataset/member identity and ordered include libraries; use direct text export unless a custom PDS import is configured.

PDS dump option: PL/I programs and %INCLUDE members must be dumped separately, using custom types agreed to emit the correct source/include files. There is no predefined PL/I type in the documented defaults. Use the sample member extraction job only for compatible source records, then validate banner recognition and member splitting with the receiver.

3. Package the extraction

Keep programs in pli/programs/ and includes in pli/includes/. The PL/I delivery reference documents .PLI and .PLC recognition; record the role and original name of every include instead of assuming its extension. Supply compiler/preprocessor settings in build/.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

Assembler / HLASM

Analyzer reference: z/OS Assembler extension.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which macro and COPY libraries are needed, including application and vendor libraries? Collect application definitions, library order and a list of unavailable vendor dependencies.
Which module/entry aliases are called by JCL, COBOL or PL/I? Obtain binder statements or a source-to-entry mapping.
Are conditional assembly, SQL or generated members used? Collect assembly settings, preprocessing inputs and generated source.

2. Extract a representative sample

Export application source, macros, COPY members and referenced application DSECT definitions from SCM or source/macro libraries. Preserve library order and assembler options. Obtain binder control source and entry aliases where they explain calls from other languages.

PDS dump option: Dump assembly source, macros and COPY/DSECT members as separate families. Configure custom output types for .asm, .asmacro/.mlc and other agreed include conventions; do not reuse COBX. Use the sample member extraction job only for compatible source records, then validate banner recognition and member splitting with the receiver.

3. Package the extraction

Use assembler/source/NAME.asm and separate assembler/macros/ and assembler/copy/ directories. The Assembler file-type reference documents .asm source and .asmacro / .mlc macros. Keep the macro/COPY role and original member name in the manifest; confirm recognition of other conventions. Do not use COBX to import macro libraries.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

REXX and CLIST

Analyzer reference: REXX extension and CLIST extension — choose the extension matching the script language.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which scripts are REXX and which are CLIST? Separate language families and record member-to-file mappings.
What is the SYSEXEC/SYSPROC lookup order? Collect called application scripts from all searched libraries.
Which parameters, ADDRESS environments or site commands are needed? Collect launch examples and external command descriptions without executing them.

2. Extract a representative sample

Export execs/command lists and called application scripts from SCM or SYSEXEC/SYSPROC libraries. Capture the library search order, launch commands, parameters and referenced site commands. Preserve original member names and separate REXX from CLIST.

PDS dump option: Dump REXX and CLIST libraries separately, using custom types producing .rexx and the agreed CLIST extension. Preserve original member names and script-library search order. Use the sample member extraction job only for compatible source records, then validate banner recognition and member splitting with the receiver.

3. Package the extraction

Use scripts/rexx/NAME.rexx for REXX, one program per file, as documented in the REXX file-type reference. Keep CLIST in scripts/clist/ with its native extension or an agreed .clist convention; confirm its import/coverage separately. Keep command/parameter documentation in operations/.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

Natural, SAS, Focus, NOMAD and other reporting languages

Analyzer reference: Focus extension and NOMAD extension. Natural and SAS are identified as UC/Labs in the ecosystem reference; no dedicated analyzer documentation for them is present here. Agree their coverage separately.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which product/version and export tool own this source? Identify the source owner and request readable source rather than a proprietary backup alone.
Which reusable areas, views, includes or generated components are required? Collect dependencies and the source-to-generated mapping.
Which databases, job controls and external calls are used? Collect metadata, launch definitions and interface context; establish analyzer scope for this product.

2. Extract a representative sample

Ask the product owner to export readable application source and referenced reusable definitions with the product-native export tool or SCM. For Natural, include copycode, local/global/parameter data areas and DDMs where used. Export generated COBOL separately with its original inputs. Record product and version for each family.

PDS dump option: Use a dump only for readable source members actually held in PDS/PDSE, separated by product and component type with custom import settings. Proprietary repositories require a product-native readable source export first. Use the sample member extraction job only for compatible source records, then validate banner recognition and member splitting with the receiver.

3. Package the extraction

Keep one product per directory, such as natural/source/, natural/data-areas/ and natural/ddm/, or sas/source/. Preserve native extensions and record component types in the manifest; agree recognition with the receiver rather than applying COBOL extensions to unrelated languages.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

JCL / PROC

Analyzer reference: Mainframe Analyzer — JCL / PROC source and relationships. Related program languages may need their own extensions.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which jobs belong to the application, including scheduled and manually submitted jobs? Obtain the job inventory, scheduler definitions and entry JCL.
Which procedure and INCLUDE libraries are searched, and in which order? Obtain all referenced application PROCs/INCLUDEs and the search order.
Are program names or datasets supplied through symbols, scheduler variables or launcher utilities? Collect substitutions, launcher descriptions and representative resolved values.
Which DD statements reference external control-card members or file definitions? Obtain those members and the associated layouts/definitions.
Which utilities and external programs are intentionally outside the application? Classify external dependencies and identify missing application programs to request.

2. Extract a representative sample

  1. Ask for application job, procedure, INCLUDE and utility control-card libraries and their lookup order.
  2. Export each referenced job, PROC, INCLUDE and control member as readable text, preserving dataset/member identity. Follow procedure calls and INCLUDE statements to obtain application dependencies.
  3. For z/OS text dumps, use JCLX for jobs only after checking import settings. Export other families as individual files unless a matching custom PDS type exists. On legacy MVS/OS/390, have the source owner verify utility and extraction-job compatibility.
  4. Include scheduler parameters, substituted variables and application launch conventions needed to identify called programs and assigned datasets.

For the PDS route, adapt the sample extraction JCL, run one extraction per family and source library, and verify member banners, complete record widths and trial splitting in the target Console.

3. Package the extraction

jcl/jobs/DAILYORD.jcl
jcl/procedures/ORDPROC.prc
jcl/includes/COMMON.inc
jcl/control-cards/SORTORD.ctl

Use one member per file and retain library grouping to avoid name collisions. Record original names, extensions and lookup order in the manifest. Keep scheduler exports separately under operations/ with product-native extensions.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

3. Add online and data definitions

For every member dump below, keep one artifact family and one banner convention per file. Record original library, dump filename/type, extracted extension, encoding, banner/margin/record-width settings and expected member count in the manifest. Use predefined types only after checking the target Console; agree a custom type for other families and trial-import a small sample. Deliver either the individual members or their dump as analysis input, keeping any duplicate representation outside the analysis source tree.

Use the same collection sheets for runtime and data technologies as for languages. Collect every applicable sheet alongside the program source. Individual source files and PDS text dumps are alternatives for source members; runtime repositories still require their product-specific export.

For legacy systems, request only technologies present in the application. The source owner must check extraction utility availability and syntax against the installed release; current z/OS sample jobs and vendor references illustrate the output required.

CICS

Analyzer reference: Mainframe Analyzer — CICS source and relationships. Related program languages may need their own extensions.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which regions and resource groups/lists contain this application? Record installed CICS version and obtain application-scoped definitions from the CICS owner.
Are definitions maintained in CSD, bundles or another repository? Obtain authoritative readable resources and record which format requires import confirmation.
Which transactions start which programs, and which BMS mapsets are used? Collect transaction/program/mapset definitions, BMS source and symbolic maps.
Are dynamic program names, file aliases, TD queues or remote resources used? Collect name mappings and resource definitions so references can be interpreted.
Are BMS and map copybooks available as members or only compiled maps? Request source; agree BMSX/CPYX dumps or individual-file exports and list unavailable members.

2. Extract a representative sample

  1. Identify the application’s regions, resource groups/lists, programs, transactions and BMS map libraries with the CICS owner. Collect BMS source and symbolic map copybooks from SCM or PDS/PDSE libraries.
  2. For CSD-managed resources, ask the administrator to export the relevant groups/lists as readable DEFINE commands using DFHCSDUP EXTRACT with DFH0CBDC and CBDOUT. Adapt the sample extraction job to the installed release and application scope; see IBM’s EXTRACT documentation external link. If another resource-management method is used, obtain its authoritative readable definitions and identify the format.
  3. PDS dump option: dump BMS source separately using configured type BMSX; dump symbolic COBOL map copybooks separately as CPYX. Use the sample PDS extraction job, verify banners and record widths, and trial-import each family. CSD is a resource repository: a source-library dump does not replace the CSD export. Exported CSD command members stored in PDS may be dumped only with a custom import type producing .csd/.cics, otherwise deliver individual files.
  4. Cross-check transaction-to-program, program-to-mapset and file/queue references against the delivered source.

3. Package the extraction

Deliver BMS as cics/bms/MAPSET.bms, symbolic COBOL maps as cobol/copybooks/MAPSET.cpy, and readable resource commands as cics/resources/APPLICATION.csd or .cics. Keep service descriptions such as .wsdl where used. If delivering dumps instead, keep dumps/BMSLIB.BMSX and dumps/MAPCOPY.CPYX separate; document original libraries and member counts. Do not deliver load-module mapsets in place of BMS source.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

IMS DB

Analyzer reference: Mainframe Analyzer — IMS DB source and relationships. Related program languages may need their own extensions.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which programs use DL/I, and which PSBs/PCBs do they select? Collect program-to-PSB mapping and launch parameters.
Where is readable PSB/DBD source maintained, and is it current? Obtain matching SCM/source-library exports or identify catalog-export format and missing source.
Which segments and logical database relationships are used? Collect complete referenced DBD definitions and application segment record layouts.
Can source libraries be delivered as PSBX/DBDX dumps? Record source dataset names, banners and expected member counts; verify sample import.

2. Extract a representative sample

  1. Ask the IMS/database owner for the application’s readable DBD and PSB source and related segment layouts/copybooks. Match the export baseline to the application programs.
  2. Export individual source members from SCM or the source libraries. Request source rather than generated binary DBDLIB/PSBLIB/ACB artifacts; IBM distinguishes readable statement source from generated libraries external link. If only catalog-managed definitions are available, have the owner provide a readable export and confirm its format with the receiver.
  3. PDS dump option: run separate text extractions for PSB source (PSBX) and DBD source (DBDX), and CPYX for COBOL segment copybooks. Adapt the sample PDS extraction job, verify one family/banner per dump, and test splitting in Console.
  4. Preserve PSB/PCB/DBD/segment names and map them to programs, including batch JCL and parameters selecting a PSB.

3. Package the extraction

Use ims/psb/NAME.psb, ims/dbd/NAME.dbd and language-specific folders for segment layouts. Alternatively deliver separate dumps/PSBLIB.PSBX, dumps/DBDLIB.DBDX and copybook dumps. Include a program-to-PSB/database mapping in delivery-inventory.txt. Keep catalog reports and binary libraries identifiable as context.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

IMS TM / IMS DC and MFS

Analyzer reference: Mainframe Analyzer — IMS TM / IMS DC and MFS source and relationships. Related program languages may need their own extensions.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which transactions, programs and PSBs belong to the application? Obtain transaction-to-program/PSB mappings.
Are transaction definitions maintained as macros or dynamic resources? Request the authoritative export and identify format conversion or import work needed.
Which MFS formats and reusable definitions do the transactions use? Collect complete MFS source and associated application message layouts.
Are MFS/transaction libraries available for extraction? Agree individual files or separate custom PDS dump types; request a sample before full export.

2. Extract a representative sample

  1. Identify application transaction codes, associated programs/PSBs and online message formats with the IMS owner.
  2. Export readable transaction-definition source, including APPLCTN/TRANSACT macros where maintained, and MFS source members with their dependencies. If resources are managed dynamically, request an administrator-produced readable export and agree its representation with the receiver rather than assuming it is macro source.
  3. PDS dump option: MFS source and transaction macro members held in PDS/PDSE may be extracted as separate text dumps with custom types producing .mfs and .tra. These types are not among the documented predefined types. If custom import is unavailable, export individual members. Related PSBs can use a separate PSBX dump. Use the sample PDS extraction job with appropriate source record settings.
  4. Check the transaction-to-program/PSB and message-format mappings against delivered application source.

3. Package the extraction

Deliver ims/transactions/APPLICATION.tra, ims/mfs/FORMAT.mfs, related .psb source and application programs in their language folders. Preserve transaction/format/member identities in the manifest. Label dynamic-resource exports by their actual format and keep them separate until import compatibility is established. Record custom dump-type settings if used.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

Db2 for z/OS

Analyzer reference: SQL Analyzer for supported SQL definitions; Mainframe Analyzer for SQL references embedded in COBOL. Other program languages use their own analyzer.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which Db2 subsystems, schemas and naming conventions are used? Record subsystem/schema mappings and collect application-scoped DDL.
Where are DCLGEN/SQL include members maintained? Collect all referenced declarations and their source-library lookup order.
Are SQL routines, dynamic SQL or generated SQL used? Obtain routine source, SQL construction/configuration context and preprocessor inputs.
Will SQL arrive as individual files or source-library dumps? Agree .sql/.ddl recognition, custom dump settings if needed and a sample import.

2. Extract a representative sample

  1. Ask the database owner to generate readable DDL for the application’s schemas, tables, views, aliases and SQL routines from the authoritative schema repository or database tooling. Preserve subsystem/schema qualifiers and SQL routine source.
  2. Export application DCLGEN/SQL include members and SQL/precompile build settings from SCM or source libraries. Include the schema mapping used by the application.
  3. PDS dump option: COBOL DCLGEN members may use a separate CPYX dump. SQL/DDL members stored in PDS/PDSE need their own custom dump type producing .sql/.ddl; otherwise export individual files. Dumping source libraries cannot generate schema DDL from the database catalog. Keep PL/I SQL includes separate with their own agreed import settings.
  4. Check that embedded SQL identifiers resolve to the delivered definitions; use the SQL Analyzer documentation for database analysis requirements.

3. Package the extraction

Use db2/ddl/SCHEMA.ddl, db2/routines/ROUTINE.sql and the appropriate language include folders for declarations. Document subsystem/schema mappings and SQL dialect. Deliver custom SQL dumps separately from copybook dumps; record their extension and member-output configuration. Data rows and database image backups are not substitutes for DDL.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

Other databases

Analyzer reference: Mainframe Analyzer for documented application-side constructs; SQL Analyzer where the database/dialect is supported. No blanket coverage is implied for vendor-specific exports.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which products and versions are accessed, for example IDMS, Datacom or ADABAS? Identify the database owner and suitable schema-export tooling.
Which schema/subschema or vendor data definitions are referenced? Collect the complete application metadata and matching include/copy source.
Are exports readable source, generated reports or proprietary backups? Request a usable source/metadata sample and confirm analyzer compatibility.
Which source members can be exported or dumped separately? Record libraries and agree custom import settings; list unavailable definitions.

2. Extract a representative sample

  1. Identify each product/version and its application schema owner. Request product-native readable schema/data-definition exports, application access definitions and vendor-specific include/copy source.
  2. Keep each database product separate; collect application program statements, reusable declarations and configuration that explains logical object names.
  3. PDS dump option: only readable source/definition members actually held in PDS/PDSE are eligible. Extract one family per dump with a receiver-configured custom type, or use individual files. Use CPYX only for COBOL copybooks. A PDS dump cannot replace a product-specific schema export or proprietary catalog conversion.
  4. Agree supported formats and analysis scope using a representative source/schema sample.

3. Package the extraction

Use database/PRODUCT/schema/, database/PRODUCT/definitions/ and language-specific include folders. Preserve vendor-native extensions and identify object roles, source locations and logical names in the manifest. Do not label a proprietary binary export .sql merely to trigger discovery.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

VSAM, sequential datasets and GDGs

Analyzer reference: Mainframe Analyzer for COBOL/JCL file references. Catalog/IDCAMS exports can be context; confirm supported constructs.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which files are VSAM, sequential or GDG datasets? Collect dataset inventory, layouts and maintained definitions.
How do JCL symbols and overrides resolve logical filenames? Collect DD statements, PROCs and application/environment mappings.
Which record layouts, control cards and generation conventions are required? Obtain reusable layouts, IDCAMS/GDG source and utility control members.
Where is definition source maintained? Agree direct export/custom control-card dumps; label catalog reports as context if source is absent.

2. Extract a representative sample

  1. Collect application record layouts, JCL DD assignments and procedures that identify datasets, generation references and file access. Ask the storage/application owner for maintained IDCAMS definitions and relevant utility control members.
  2. Export readable DEFINE/GDG/utility source from SCM or control libraries; use catalog listings as supporting name/type context when maintained definition source is absent. Collect application-specific file-name overrides and symbolic substitutions.
  3. PDS dump option: extract control-card/IDCAMS member libraries separately using custom types producing .ctl or the agreed source extension; use JCLX for job libraries and CPYX for COBOL record-layout copybooks. Do not dump VSAM data clusters or sequential business records as source.
  4. Preserve dataset names, cluster/component relationships and relative generation syntax; connect each logical file to the relevant application program/job.

3. Package the extraction

Use data-stores/vsam/DEFINITION.ctl, data-stores/gdg/DEFINITION.ctl, language-specific record-layout folders and the normal JCL folders. Keep catalog listings under context/. PDS dumps must remain separated by member family; record custom control-card import settings and dataset-name mappings.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

MQ and messaging

Analyzer reference: Mainframe Analyzer for documented messaging references in COBOL. Product resource exports and other client languages require separate coverage confirmation.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which queue managers and queues/aliases does the application use? Obtain scoped resource definitions and logical-to-actual name mappings.
Are queue names fixed, configured or constructed dynamically? Collect configuration and application name-resolution logic.
Which message layouts and externally owned destinations are required? Collect application layouts and identify external interfaces.
Are definitions in SCM/PDS or only in the runtime repository? Choose a readable repository export or separate custom member dump; do not request message payloads.

2. Extract a representative sample

  1. Ask the messaging owner for readable application-scoped queue/resource definitions and aliases, plus the queue-manager mapping used by the source. Collect application message layouts and MQ interface copybooks used by delivered programs.
  2. For IBM MQ on z/OS, the owner can use CSQUTIL COMMAND with MAKEDEF to generate definition commands for selected displayed objects; follow IBM’s utility instructions external link. For another product, use its supported definition exporter.
  3. PDS dump option: use it only for maintained or exported text definition members in PDS/PDSE, with a custom type preserving their agreed extension. COBOL message-layout copybooks can use CPYX. Queue contents, page sets and binary backups are not PDS source inputs.
  4. Preserve queue/alias/process names and application call parameters; identify remote destinations and externally owned objects.

3. Package the extraction

Keep definitions in messaging/definitions/ using their native text format (for example .mqsc, subject to import confirmation). Put message layouts in the relevant language include folders and name mappings in messaging/application-mapping.txt. Separate reports from source definitions; establish messaging coverage for the installed analyzers.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

Schedulers, transfers and output services

Analyzer reference: Mainframe Analyzer for JCL and program relationships. No dedicated scheduler/transfer analyzer documentation is identified here; confirm native export coverage with the project team.

1. Confirm scope and prerequisites

Information to confirm Files and settings to collect or record
Which products schedule, transfer or route this application’s files/output? Identify each owner, installed product/version and supported export format.
Which calendars, dependencies and variables affect job execution? Collect complete application job chains and variable definitions.
Which exported job names map to JCL or script entry points? Obtain the scheduler-to-source mapping and resolved launch parameters.
Which definitions are source members versus product-repository objects? Select direct files, custom member dumps or native repository exports for each family.

2. Extract a representative sample

  1. Identify application schedulers and operational products with their owners: for example Control-M, CA-7, TWS, ESP, file transfer or output management.
  2. Use the installed product’s supported export/list facility to obtain application job definitions, dependencies, triggers, calendars, variables, run conditions and transfer/output definitions. Collect application launch and transfer scripts from SCM or source libraries.
  3. PDS dump option: application control/script/JCL members stored in PDS/PDSE may be extracted by family. Use JCLX for jobs; other definitions/scripts require a custom type and agreed output extension. Scheduler repositories, XML exports, transfer configuration and output-service exports should retain their native format rather than being wrapped in a PDS dump.
  4. Match scheduler/transfer names and resolved variables to delivered JCL, datasets and programs; identify products needed only as operational context.

3. Package the extraction

Use scheduler/PRODUCT/ for native text/XML exports, operations/transfers/ for application transfer definitions and operations/output/ for output-service definitions. Preserve native extensions and identify product/version in the manifest. For member dumps, record the original libraries, custom import settings and expected member counts.

4. Check before collecting the full delivery

  • Open a representative exported file and verify its declared encoding, complete records and source format.
  • Locate the referenced application dependencies, or record each missing item with its responsible owner.
  • Confirm file recognition and analysis scope using the analyzer reference above.
  • If using a PDS text dump, verify the configured family/output extension and trial-split it; compare member names and counts with the source inventory.
  • Record the sample result, baseline, exclusions and outstanding requests in delivery-inventory.txt before collecting the full delivery.

4. Extract and transfer source

  1. Export the selected baseline from SCM or source libraries, keeping programs, copybooks, procedures and other families separate.
  2. Prefer readable individual member files with a manifest of original dataset/member names. If using a text PDS dump, ensure each member has the banner expected by the receiver’s Console configuration.
  3. Apply the PDS import instructions only after checking banner format and member type. The receiving Console’s import settings apply regardless of the legacy source system.
  4. Record original and delivered encodings and verify complete source records after transfer. Keep binary backups, load modules and compiler listings separate from the analysis source.

The sample z/OS extraction jobs illustrate the delivery format; the source owner must check utility availability and JCL compatibility for the actual legacy environment before running them.

5. Package and check the delivery

mvs-os390/
  delivery-inventory.txt
  cobol/programs/
  cobol/copybooks/
  jcl/jobs/
  jcl/procedures/
  jcl/control-cards/
  online/cics/
  online/ims/
  database/
  other-languages/
  operations/
  • Record compiler/dialect, baseline, encoding and original member mapping.
  • Include all referenced application COPY members, procedures and called programs, or list what is missing.
  • Keep legacy-specific compiler and preprocessing settings with the source.
  • Match online/data definitions and scheduled jobs to delivered programs.
  • Verify representative source records and, if used, a trial PDS split in the target Console.
  • Confirm scope using samples with legacy syntax, COPY resolution, embedded SQL and online commands where applicable.

6. 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.

Return to mainframe delivery guides by support group.