Documentation

Legacy Languages

Parser details and supported dialects for COBOL, JCL, HLASM, PL/I, RPG, and Fujitsu-specific formats.

COBOL IBM + Fujitsu

Full parser supporting IBM Enterprise COBOL and Fujitsu COBOL dialects. Asset types: .cbl, .cob, .cobol, .cpy, .copy, .sqb.

CapabilityDescription
Procedure DivisionFull section/paragraph tree with PERFORM/GO TO resolution
Data DivisionHierarchical layout with byte offsets and lengths. PIC clause parsing
CALL ResolutionStatic CALL literal and dynamic CALL variable extraction
COPY ResolutionCOPY statement expansion with copybook content inlining
SQL ExtractionEXEC SQL statement capture with table/column references
File I/OOPEN/READ/WRITE/REWRITE/DELETE/START statement classification
ComplexityCyclomatic complexity, nesting depth, call fan-out per paragraph

JCL IBM + Fujitsu

Job Control Language parser for both IBM z/OS JCL and Fujitsu MSP JCL. Asset types: .jcl, .jcllib, .proc.

CapabilityDescription
Job/Step StructureFull JOB/EXEC/DD hierarchy with step ordering and condition codes
PROC ExpansionIn-stream PROC expansion. Cataloged/external PROCs noted for resolution
Program ResolutionEXEC PGM= references matched to COBOL programs in the schema
DSN ExtractionDD DSN= dataset names with DISP-based access classification (R/W/U/D)
Control FlowCOND= parameters and IF/THEN/ELSE/ENDIF structure

HLASM Assembler IBMFJ

High-Level Assembler parser. Asset types: .asm, .hlasm, .mac. Supports macro definition and expansion, symbol cross-reference, and instruction-level call graph construction for assembler-to-COBOL interface points.

PL/I & RPG

PL/I (.pli, .pl1) — procedure and data declaration analysis with CALL and file I/O extraction. RPG (.rpg, .rpgle) — AS/400 RPG III/IV/ILE with embedded SQL, file specifications, and CALL resolution.

Additional supported 4GLs: Easytrieve Plus (.ezy), FOCUS (.foc), Natural (.nat), REXX (.rexx).

Fujitsu-Specific Formats FJ

Codegraphs has deep support for Fujitsu MSP proprietary formats — a differentiator from tools that only handle IBM mainframe:

FormatExtDescription
AIMPROC.aimprocScreen transition / session procedure definitions
ACP.acpJOB/MQN/APL application control parameters
MQN.mqnMessage queue node definitions with sub-entries
A-AUTO.autoUnirita A-AUTO job network automation
PSAM.psamACS screen definitions with field layouts
STAFFX.stfxForm/report output definitions
CTRL.ctrlData extraction condition control cards
SORTCTL.sortctlSort/merge/select utility control cards

Database & Screen Definitions

IBM: IMS DBD (.dbd), PSB (.psb), MFS (.mfs), CICS BMS (.bmsmap), ISPF Panel (.panel).

Fujitsu: AIM Schema (.sch), SubSchema (.ssch), PED (.ped), DB Control (.dbctl), DDL/DML (.dbddl, .dbdml), Reload/Unload (.rld, .uld).

AS/400: Display File DDS (.dspf), Printer File DDS (.prtf).

43 extensions supported on Fujitsu MSP alone, covering 100+ distinct asset types.