Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fujitsu-mainframe

БесплатноБез исполняемых скриптовНе проверен

Analyzes and assists with Fujitsu mainframe systems including FACOM, PRIMERGY, BS2000/OSD, OSIV/MSP, OSIV/XSP, NetCOBOL, PowerCOBOL, and Fujitsu JCL. Extracts…

DauQuangThanhот DauQuangThanh★ 18 звёзд на GitHub12 установок в других каталогах

Об этом скилле

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

Type Description Java Equivalent
SAM Sequential BufferedReader/Writer
PAM Partitioned File directory
ISAM Indexed Database with index
GDG Versioned Timestamp 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 COBOL Java Notes
PIC 9(n) int, long, BigInteger Size dependent
PIC S9(n)V9(m) BigDecimal ALWAYS for decimals
PIC X(n) String Alphanumeric
COMP-3 BigDecimal NEVER float/double
OCCURS n List<T> Prefer List over array
SYMFOWARE PostgreSQL
CHAR(n) CHAR(n)
VARCHAR(n) VARCHAR(n)
DECIMAL(p,s) NUMERIC(p,s)
TIMESTAMP TIMESTAMP WITH TIME ZONE
BLOB BYTEA
CLOB TEXT

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. **Migra
Полный SKILL.md на GitHub

Установить fujitsu-mainframe в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/data-mappings.mdreferences/migration-patterns.mdreferences/migration-strategy.md

FAQ

Что делает скилл fujitsu-mainframe?

Analyzes and assists with Fujitsu mainframe systems including FACOM, PRIMERGY, BS2000/OSD, OSIV/MSP, OSIV/XSP, NetCOBOL, PowerCOBOL, and Fujitsu JCL. Extracts business logic from Fujitsu COBOL programs, analyzes Fujitsu JCL jobs, migrates Fujitsu mainframe applications to modern platforms (Java, cloud, containers), and creates migration strategies. Use when working with Fujitsu mainframe migration, FACOM systems, BS2000, OSIV platforms, NetCOBOL, PowerCOBOL, Fujitsu-specific COBOL extensions, Fujitsu JCL, or when users mention Fujitsu mainframe modernization, analyzing Fujitsu COBOL/JCL, SYMFOWARE database, or planning migration from Fujitsu legacy systems.

Как установить скилл fujitsu-mainframe?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fujitsu-mainframe запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fujitsu-mainframe с