Repository navigation
Name RECFM=V exports (RDW / BDW+RDW) in source_text and the census preflight (Part of #8412) - #8562
Merged
Merged
Conversation
…ure, count in the census preflight (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Nov 17, 2026
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.
Summary
Detect RECFM=V exports (members whose records carry a 4-byte RDW length prefix, or whose blocks carry a BDW and records an RDW) by structure, and make the census preflight count and name them. Today the aperture drops such a file as a generic
binary_payload(the descriptor words hold NULs) and nothing says why.Design: refuse by name, no decode.
source_text.rdw_framing(data)returns"rdw","bdw+rdw"orNone. The lengths must chain to the end of the file (3+ records; BDW is tried first because a block descriptor looks like one long record), and two zero bytes after every length cannot occur in plain text. The code page of the records stays the estate's to declare.cics_census.py preflightgets an eighth check,gap_prevalence.rdw_files(a count, no names), the same shape as the archive check from #8419. No engine scan path changes, so no golden moves.Class / Sibling gaps
Class: a variable-length (RECFM=V / VB) host export in any code page. Members:
UNDECLARED EBCDIC)Remaining slices
source_text.py, aperture admit, test): after the estate declares a code page.Checklist: partial [c:8e893dfa] -- detected and named in the census preflight; the engine scan still drops the file as a generic binary and nothing decodes it (slices above).
Tests
tests/core_engine/test_rdw_framing_8412.py(new, whole class above) and one case intests/tools/test_cics_preflight.py: 65 passed with the sibling #8412 EBCDIC tests.Doc-refs fixes: none.
🤖 Generated with Claude Code