Skip to content

feat(containers): PR #10 — onboard CBACT04C batch container (INTCALC) - #181

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1784572800-program-cbact04c
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1784572800-program-cbact04c

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jul 20, 2026

Copy link
Copy Markdown

Summary

Wave 3 / PR #10 — first per-program rollout on the manifest-driven container pattern (PR #3). Onboards CBACT04C (job INTCALC, interest calculator) by adding only two config files — no Dockerfile, CI, or CD edits:

containers/ddmap/CBACT04C.env      # DD -> AWS.M2.CARDDEMO.* (mirrors INTCALC.jcl)
containers/programs/CBACT04C.env   # RUN_MODE=module, PROGRAM_PARM=2022071800

Why RUN_MODE=module (the interesting part): CBACT04C has PROCEDURE DIVISION USING EXTERNAL-PARMS, which GnuCOBOL rejects for a cobc -x executable (executable program requested but PROCEDURE/ENTRY has USING clause). The pattern's module mode compiles it with cobc -m and runs it via cobcrun CBACT04C 2022071800, so the mainframe JCL PARM='2022071800' flows into the USING item without any source change. DD map mirrors app/jcl/INTCALC.jcl (TCATBALF/XREFFILE/ACCTFILE/DISCGRP/TRANSACT), names preserved.

Verified locally

  • docker build --build-arg PROGRAM=CBACT04Ccobc -m -std=ibm -fixed -ftab-width=1 compiles the module clean; image builds.
  • (Full VSAM/packed-decimal data validation is the per-program playbook step — Phase 4.)

Links

Link to Devin session: https://app.devin.ai/sessions/c0f261ce337a4aee965332f1754d037a
Requested by: @vibhaseshadri-cognition


Devin Review

Status Commit
⚪ Not started

Run Devin Review

Open in Devin Review (Staging)

PR #10 / Wave 3: adds only the two per-program config files for CBACT04C using
the manifest-driven container pattern (PR #3) - no Dockerfile/pipeline edits.
ddmap mirrors INTCALC.jcl (TCATBALF/XREFFILE/ACCTFILE/DISCGRP/TRANSACT ->
AWS.M2.CARDDEMO.*). programs manifest uses RUN_MODE=module (cobc -m + cobcrun) so
its PROCEDURE DIVISION USING receives PROGRAM_PARM=2022071800 like the JCL PARM=,
with no COBOL logic change.

Co-Authored-By: Vibha  Seshadri <vibha.seshadri@cognition.ai>
@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants