Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

map-vsam-db2-to-jpa

Estrellas4
Forks0
Actualizado24 de mayo de 2026 a las 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

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
3 archivos
SKILL.md
readonly