# Outdated Components

> [← Back to Summary](./summary.md) | [Security Vulnerabilities →](./security-vulnerabilities.md)

## COBOL Language Version

### Current State
- Programs use **COBOL-85** standard features (EVALUATE, inline PERFORM, etc.)
- No COBOL-2002 or COBOL-2014 features detected (no OO COBOL, no XML/JSON PARSE, no free-format source)
- Fixed-format source code (columns 7-72)
- Sequence number areas used in some programs (columns 1-6)

### Concerns — 🟡 Medium
- COBOL-85 is functional but decades behind current standards
- No structured error handling (no TRY/CATCH equivalent)
- Limited string manipulation capabilities

## CICS API Level

### Current State
- Uses CICS TS-compatible API (CHANGEAGREL=0730 in CSD = CICS TS 5.3+)
- Pseudo-conversational model (standard pattern)
- Uses HANDLE ABEND (older pattern vs. RESP/RESP2-only)
- BMS for screen rendering (3270-based)

### Concerns — 🟡 Medium
- HANDLE ABEND is a legacy CICS pattern; modern practice uses RESP/RESP2 exclusively
- BMS maps tied to 3270 terminal architecture with no web/mobile support
- No RESTful service exposure capability

## VSAM Data Store

### Current State
- Primary data store using KSDS files with Alternate Indexes (AIX)
- File status checking after I/O operations
- No journaling enabled (JOURNAL(NO) in all CSD file definitions)
- No recovery options configured (RECOVERY(NONE))

### Concerns — 🟠 High
- No referential integrity between files
- No transaction logging/journaling for data recovery
- Limited query capabilities compared to SQL databases
- Manual cross-reference maintenance (CCXREF file)

## Batch Processing Utilities

### Current State
- IDCAMS REPRO for VSAM load/unload
- IEBGENER for sequential copy (DUSRSECJ)
- SORT for file merging (COMBTRAN)
- IEFBR14 for file open/close signaling (CLOSEFIL, OPENFIL)

### Concerns — 🟢 Low
- Standard z/OS utilities; functionally adequate
- Well-understood patterns for mainframe operations

## Assembler Subroutines

### Current State
- **MVSWAIT** (`app/asm/MVSWAIT.asm`, 60 lines): Timer wait for batch jobs
- **COBDATFT** (`app/asm/COBDATFT.asm`, 54 lines): Date format conversion

### Concerns — 🟡 Medium
- Assembler code requires specialized skills to maintain
- Platform-specific (z/Architecture instructions)
- MVSWAIT functionality available through CICS or COBOL ACCEPT statements
- COBDATFT duplicates functionality available in CSUTLDTC COBOL utility

## JCL Batch Processing

### Current State
- 38 base JCL jobs + 8 optional module JCL jobs
- Standard JCL syntax with symbolic parameters
- Job scheduling via CA7 and Control-M definitions
- GDG (Generation Data Group) management

### Concerns — 🟢 Low
- Standard mainframe batch patterns
- Well-defined job dependencies in scheduler definitions

## Optional Module Technologies

### DB2
- Standard embedded SQL (static) — well-structured
- DCLGEN copybooks properly maintained
- DDL and control files provided

### IMS DB
- DL/I call-level interface
- DBD/PSB definitions properly structured
- **Concern — 🟡 Medium:** IMS DB is a niche technology with declining expertise

### MQ
- Standard MQGET/MQPUT patterns with MQ copybooks
- Synchronous request/response model
- Properly structured with error handling

---

*See also: [Security Vulnerabilities](./security-vulnerabilities.md) | [Remediation Plan](./remediation-plan.md)*
