Skip to content

Update DCOLLECT Parser#4

Open
JonathanPrince wants to merge 5 commits into
wizardofzos:mainfrom
JonathanPrince:fix/dcollect-parser
Open

Update DCOLLECT Parser#4
JonathanPrince wants to merge 5 commits into
wizardofzos:mainfrom
JonathanPrince:fix/dcollect-parser

Conversation

@JonathanPrince

Copy link
Copy Markdown
Contributor
  • Report DCOLLECT parse failures instead of hanging
    A parse error inside the background thread killed the thread silently,
    leaving status stuck on "Still Parsing your input" forever. Failures now
    land in STATE_BAD and surface via status['error'] and the dataframe
    properties, which raise UsageError instead of printing placeholder text
    and returning None.
    Also parse A-records (VSAM associations), expose the DCDAENCR encryption
    fields as DCDATYPE and DCDAKLBL, and return None rather than False for
    zero and invalid packed dates.
  • Add DCOLLECT tests
  • Fix SETROPTS list detection for single-entry lists
  • Add SETROPTS to tests

A parse error inside the background thread killed the thread silently,
leaving status stuck on "Still Parsing your input" forever. Failures now
land in STATE_BAD and surface via status['error'] and the dataframe
properties, which raise UsageError instead of printing placeholder text
and returning None.

Also parse A-records (VSAM associations), expose the DCDAENCR encryption
fields as DCDATYPE and DCDAKLBL, and return None rather than False for
zero and invalid packed dates.
Run with `make test`; the Makefile target puts src/ on the path so the
suite tests the working tree rather than the installed package.
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.

1 participant