Skip to main content
Execute qualquer Skill no Manus
com um clique

map-vsam-db2-to-jpa

Estrelas4
Forks0
Atualizado24 de maio de 2026 às 20:35

Maps the persistent-data surface of one Enterprise COBOL program — its VSAM file definitions (`SELECT ... ASSIGN`, `FD`, key structure from the FILE-CONTROL paragraph and the associated record copybook) and its embedded DB2 access (`EXEC SQL DECLARE TABLE`, DCLGEN copybooks, `EXEC SQL SELECT/INSERT/UPDATE/DELETE/FETCH ... INTO :host-var`) onto idiomatic Spring Data JPA artefacts for Java 21 + Spring Boot 3.x: one `@Entity` class per VSAM file or DB2 table, one `JpaRepository<Entity, Key>` per entity, a composite `@IdClass` or `@EmbeddedId` when the key has more than one field, a `jpa-mapping.json` sidecar that records every host-variable → column → record-component binding (so `transpile-cobol-to-java21` can rewrite `EXEC SQL` blocks into repository or `EntityManager` calls without re-parsing the COBOL), and an optional Flyway-style baseline DDL derived from the DECLARE TABLE statements. USE this skill when `analyze-cobol-program` has surfaced `data.files[]` of type VSAM (KSDS / ESDS / RRDS) and/or `data.dbAc

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

Explorador de arquivos
3 arquivos
SKILL.md
readonly