Repository navigation
BAQRINFO stand-in copybook from the z/OS Connect manual layouts (Part of #8412) - #9159
Merged
Merged
Conversation
… of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8412 (owner licence ruling 2026-11-23: product copybook stand-ins, BAQ first).
What
BAQRINFOstand-in copybook, written from IBM's published layouts (never IBM's shipped file), and wired so both the det translator (_SHIPPED_COPYfallback) and the engine (SYSTEM_MEMBERS->system_member_text,stand-in#copies) resolveCOPY BAQRINFOwhen the estate has none of its own.gitgalaxy/tools/cobol_to_java/det/copy/BAQRINFO.cpy: labelled GitGalaxy stand-in, field names / PIC / USAGE / VALUE only, no IBM prose.BAQ-RESPONSE-INFO: complete as published in z/OS Connect "Handling errors from API requester calls" (BAQRINFO copybook listing: comp level, stub name, return code with the five 88s of Table 1, status code, 1024-byte status message and its length; allS9(9) COMP-5 SYNCfullwords).BAQ-REQUEST-INFO: ASSUMED to hold onlyBAQ-REQUEST-INFO-COMP-LEVEL, the one field "Developing API requester applications" names (Tables 1-2). The pages print no other field, so a program naming one (OAuth / token / URIMAP-override parameters of compat levels 1-5) is refused by name (data name not found), never guessed.gitgalaxy/core/copy_libraries.py:BAQRINFOadded toSYSTEM_MEMBERS.tests/cobol_mainframe/test_det_system_member_layout.py: BAQRINFO joinsMEMBERS(engine == translator layout) and a new test pins offsets 0/4/12/16/20/1044 (record 1048 bytes) and the 88 values 0-4.tests/tools/docs_read_by_tests.txt: regenerated (change_classifier.py --write; drift from main, thederivedgate failed on it).Hand-written files: 3.
Census
cics_census.py check/survey --baselinecould NOT run on this box: the non-burned census corpora are not provisioned (CICS_CENSUS_CORPORAunset, nocensus-cache). So the change for the 2 "z/OS Connect product" programs is not measured. Expected, unverified:missing copybook: z/OS Connect productclears for both; they become whole only if BAQRINFO was their sole gap. Their API-INFO / request / response structures are customer-generated (API00Q01-style), so a program that COPYs one of those stays a clone defect, as the ruling says. Needs a run where the census is provisioned.Class / Sibling gaps
Class: IBM-supplied product copybooks a program COPYs but the clone never ships (
gap_prevalence._COPYBOOK_FAMILIES), resolved by a manual-derived stand-in. Members: BAQRINFO (this PR, response info full, request info ASSUMED to the comp level); DLIUIB, AIB (#9153, merged); HWT* (refused by name, owner 2026-11-23: IBM does not publish the layout, stays an accounted product family, no code); DFS* members (IMS, not started: no manual layout checked); API00Q01/P01/I01-style BAQ request/response/API-INFO copybooks (customer-generated by the build toolkit: clone defects, correct as is); remaining BAQ-REQUEST-INFO fields (not in the manual pages: refused by name until IBM's layout is available). No siblings sharing this mechanism were left out.Gates
pr_gates --fast: 7/9 before fixes; the two fails (ruff format ofcopy_libraries.py,docs_read_by_tests.txtstale) are fixed in the second commit; audit_check all clear, tree-wide guards not re-run in full.test_det_system_member_layout.py: 27 passed (~100 s, one module fixture scan; baselined under the time ratchet: PASS).pr_gates --ratchets: cics-spec, ports, port-surface, estate, det-mutation, time PASS. fact-crosscheck, completeness, ground-truth FAIL on environment:example-health-apisis not fetched at its pinned ref and its upstream (github.com/ibm/example-health-apis) is gone ("Repository not found"), somainframe_corpus.py fetchcannot restore it on this box. Not re-blessed; CI (which has the corpus) is the check. No golden fixture touched (no parsing logic change).Lessons for agents
tests/tools/cics_census.py check/survey --baselineneed the census clones (CICS_CENSUS_CORPORA) and a GREEN box (--forceoverrides YELLOW only); without them a worker cannot state a census change: say so, never estimate it as measured..cpyline past column 72 is truncated silently by the det reader and fails as "no period before the next level number": wrap long PIC lines.EngineLayouts.consumed; the shared system-member test must expand it.🤖 Generated with Claude Code