Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dauquangthanh avatar

Fujitsu Mainframe

  • 18 installs
  • 14 repo stars
  • Updated January 23, 2026
  • dauquangthanh/hanoi-rainbow

fujitsu-mainframe is a Hanoi Rainbow agent skill that analyzes Fujitsu mainframe COBOL, JCL, and SYMFOWARE assets so developers can plan and implement migrations to Java and cloud platforms.

About

The fujitsu-mainframe skill from Hanoi Rainbow guides analysis and migration of Fujitsu mainframe estates including FACOM, BS2000/OSD, OSIV, NetCOBOL, PowerCOBOL, Fujitsu JCL, and SYMFOWARE toward Java and cloud platforms. It walks through asset discovery, structure extraction, dependency mapping, and migration strategy documentation with reference patterns for COBOL-to-JPA and JCL-to-orchestration. Reach for it when you are modernizing Fujitsu legacy codebases and need agent-assisted parsing, mapping, and target architecture plans rather than generic cloud trivia.

  • Parses NetCOBOL, PowerCOBOL, Fujitsu JCL, and SYMFOWARE SQL
  • Maps SAM, PAM, ISAM, and GDG files to Java and database equivalents
  • Builds dependency graphs for CALL chains, copybooks, and JCL sequences
  • Produces Spring Boot and Kubernetes migration patterns from references

Fujitsu Mainframe by the numbers

  • 18 all-time installs (skills.sh)
  • Ranked #821 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill fujitsu-mainframe

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs18
repo stars14
Last updatedJanuary 23, 2026
Repositorydauquangthanh/hanoi-rainbow

How do you extract business logic and dependencies from Fujitsu mainframe programs before replatforming to Java or cloud?

Analyzes Fujitsu FACOM, BS2000, NetCOBOL, JCL, and SYMFOWARE assets and plans migration to Java, Spring Boot, and cloud-native deployments.

Who is it for?

Developers and architects modernizing Fujitsu FACOM, BS2000, or OSIV workloads who already have COBOL, JCL, or SDF sources in the workspace.

Skip if: Greenfield projects with no Fujitsu legacy assets or teams that only need generic cloud provisioning without mainframe source.

When should I use this skill?

Users mention Fujitsu mainframe migration, NetCOBOL, PowerCOBOL, Fujitsu JCL, SYMFOWARE, or FACOM modernization tasks.

What you get

Migration strategy notes, dependency maps, and Java or cloud target designs aligned to the skill reference frameworks.

Files

SKILL.mdMarkdownGitHub ↗

Fujitsu Mainframe Analyzer

Analyze and migrate Fujitsu mainframe systems (FACOM, BS2000/OSD, OSIV, NetCOBOL, PowerCOBOL, Fujitsu JCL, SYMFOWARE) to modern Java/cloud platforms.

Core Capabilities

1. Fujitsu COBOL Analysis

Extract NetCOBOL/PowerCOBOL programs, Fujitsu-specific verbs, proprietary file organizations (SAM/PAM/ISAM), SYMFOWARE embedded SQL, screen handling (ACCEPT/DISPLAY with CRT STATUS).

2. Fujitsu JCL Analysis

Parse JOB statements, STEP definitions, ASSIGN/FILEDEF statements, conditional execution, cataloged procedures, resource allocation.

3. BS2000/OSD System Analysis

Analyze ENTER statements, system commands, file handling (PAM, SAM, ISAM), job variables, SDF processing.

4. SYMFOWARE Database Migration

Extract embedded SQL, schemas, stored procedures, transactions. Migrate to PostgreSQL, Oracle, or SQL Server.

5. Migration to Modern Platforms

Generate Spring Boot microservices, REST APIs, cloud-native apps (AWS, Azure, GCP), containerized deployments (Docker, Kubernetes), CI/CD pipelines.

Workflow

Step 1: Discover Assets

find . -name "*.cbl" -o -name "*.CBL" -o -name "*.cob"  # COBOL
find . -name "*.ncb" -o -name "*.NCB"  # NetCOBOL
find . -name "*.fjcl" -o -name "*.jcl"  # JCL
find . -name "*.cpy" -o -name "*.CPY"  # Copybooks
find . -name "*.sdf" -o -name "*.SDF"  # SDF files

Step 2: Analyze Structure

Extract divisions, data structures, file definitions, screen definitions, embedded SQL, Fujitsu-specific extensions. Key features:

  • File organization: SEQUENTIAL, RELATIVE, INDEXED
  • Screen handling: CRT STATUS, screen control
  • Database: SYMFOWARE SQL
  • Fujitsu verbs: ACCEPT OMITTED, INSPECT extensions
  • Error handling: FILE STATUS, DECLARATIVES

Step 3: Map Dependencies

Build graphs: CALL hierarchies, copybook usage, file dependencies (FACOM), database access (SYMFOWARE), JCL sequences, screen definitions.

Step 4: Create Migration Strategy

Document architecture, Fujitsu-specific features, Java/cloud design, data migration, roadmap. Load `references/migration-strategy.md` for detailed framework.

Fujitsu-Specific Features

NetCOBOL Extensions

  • Windowing, GUI support (PowerCOBOL)
  • Enhanced ACCEPT/DISPLAY with positioning
  • Object-oriented: CLASS definitions
  • Extended exception handling

SYMFOWARE Database

  • Embedded SQL: SELECT, INSERT, UPDATE, DELETE
  • Cursors: DECLARE, OPEN, FETCH, CLOSE
  • Transactions: COMMIT, ROLLBACK
  • Migration: SYMFOWARE → PostgreSQL (cost), Oracle (enterprise), SQL Server

File Systems

TypeDescriptionJava Equivalent
SAMSequentialBufferedReader/Writer
PAMPartitionedFile directory
ISAMIndexedDatabase with index
GDGVersionedTimestamp naming

Quick Patterns

COBOL → Java Spring Boot

Load `references/migration-patterns.md` for detailed examples. Quick overview:

Fujitsu COBOL:

SELECT EMPFILE ASSIGN TO "EMPDATA"
    ORGANIZATION IS INDEXED
    ACCESS MODE IS RANDOM
    RECORD KEY IS EMP-ID

Java JPA:

@Entity
@Table(name = "employees")
public class Employee {
    @Id
    private Integer empId;
    private String empName;
    private BigDecimal empSalary;
}

JCL → Shell + Kubernetes

Fujitsu JCL:

//STEP010  EXEC PGM=VALIDATE
//STEP020  EXEC PGM=PROCESS,COND=(0,EQ,STEP010)

Shell:

./validate && ./process

Load `references/migration-patterns.md` for Kubernetes CronJob examples.

Data Type Mappings

Load `references/data-mappings.md` for comprehensive tables. Critical mappings:

Fujitsu COBOLJavaNotes
PIC 9(n)int, long, BigIntegerSize dependent
PIC S9(n)V9(m)BigDecimalALWAYS for decimals
PIC X(n)StringAlphanumeric
COMP-3BigDecimalNEVER float/double
OCCURS nList<T>Prefer List over array
SYMFOWAREPostgreSQL
CHAR(n)CHAR(n)
VARCHAR(n)VARCHAR(n)
DECIMAL(p,s)NUMERIC(p,s)
TIMESTAMPTIMESTAMP WITH TIME ZONE
BLOBBYTEA
CLOBTEXT

Migration Strategies

Strangler Fig Pattern (Recommended)

Gradually replace functionality. Lower risk, learn and adjust. Load `references/migration-strategy.md` for detailed steps.

Big Bang

Complete rewrite, single cutover. Higher risk, clean architecture. For smaller systems.

Hybrid

Core services modernized first, periphery later. Balanced risk/reward.

Output Requirements

Analysis Report Structure

1. Executive Summary - Overview, business impact, recommendation 2. Current State - Inventory, architecture, technology, dependencies 3. Fujitsu Features - NetCOBOL/PowerCOBOL, SYMFOWARE, file systems, screens, JCL 4. Target Design - Architecture, tech stack, microservices, data model, APIs 5. Migration Plan - Approach, timeline, resources, risks, costs 6. Technical Appendix - Code samples, mappings, utilities, testing

Load `references/migration-strategy.md` for complete frameworks and templates.

Critical Best Practices

1. ALWAYS use BigDecimal for COMP-3 and decimals (NEVER float/double) 2. Preserve business logic - understand before changing 3. Test with production data - validate conversions 4. Document Fujitsu extensions - proprietary features need special handling 5. Plan parallel run - compare outputs before cutover 6. Automate testing - regression suite for validation 7. Monitor everything - logging, metrics, alerts 8. Security first - authentication, authorization, encryption

Common Challenges & Solutions

Fujitsu-Specific Features → Custom adapters, equivalent libraries, re-implementation Screen Handling → User requirements gathering, modern UX design File Processing → ETL tools, Spring Batch Performance → Caching (Redis), async processing, DB optimization Transactions → Spring @Transactional, Saga pattern

Reference Files

When detailed information needed:

  • `references/migration-patterns.md` - Complete code examples for all migration patterns
  • `references/data-mappings.md` - Comprehensive type mappings, REDEFINES, dates, best practices
  • `references/migration-strategy.md` - Full framework: assessment, design, testing, cutover, costs

Load these files for in-depth guidance on specific topics.

Related skills

FAQ

Which Fujitsu platforms does it cover?

The skill covers FACOM, PRIMERGY, BS2000/OSD, OSIV/MSP, OSIV/XSP, NetCOBOL, and PowerCOBOL per its description.

What modern targets does it map to?

It targets Spring Boot microservices, REST APIs, and containerized deployments on AWS, Azure, or GCP.

How does analysis start?

The workflow begins by discovering .cbl, .ncb, .fjcl, .cpy, and .sdf files with documented find commands.

Cloud & Infrastructureintegrationsbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.