Repository navigation
cics web: WEB WRITE HTTPHEADER SESSTOKEN translates on an assumed sequence (Part of #7525) - #7866
Conversation
…r the next RECEIVE (Part of #7525) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…blic (Part of #7525) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…n/7525-notruncate
…uence (Part of #7525) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (c637f1b) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
3 similar comments
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
|
No description provided. |
…eader(SESSTOKEN) public (Part of #7525) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2a16e45) is not the one a maintainer labelled |
|
No description provided. |
Part of #7525 (census #7709). Follow-up to #7850 (merged).
Checklist: partial [c:cf396ab3] -- the det port and the GnuCOBOL stub (GGCWWRT, from #7881, merged into this branch) both carry the client form; the X38 register wording is #7882
Checklist: partial [c:99219ff9] -- not started here: WEB CONVERSE URIMAP POST needs per-request URIMAP definitions the run does not state (see Remaining slices)
Checklist: partial [c:f8526cbf] -- not started here: the re-survey runs after URIMAP POST lands and the census WEB rows are gone
What
EXEC CICS WEB WRITE HTTPHEADER ... SESSTOKEN(tok)(the client form) now translates in the det port. #7747 refused it because IBM does not say which request the header goes on or whether it persists. This PR lifts that refusal on a stated, ASSUMED sequence (register X38): a header written on a session goes on every laterWEB CONVERSEon that session untilWEB CLOSE, in the order written. It shows as aheaderskey on theWEB-CONVERSEevent (only when some were written) and as aWEB-HEADERevent withsesstoken.Outcomes: NOTOPEN RESP2 27 (token not an open session), LENGERR 35 / 55 as the server form. Refused by name: blank name or one holding a blank or colon, a length past its area, two conditions at once.
Equivalence: the GnuCOBOL stub does not keep session headers, so
equivalence_cics_web.pyrefuses the client form by name (as #7850 did for NOTRUNCATE). Evidence level: translated (whole), executed on the det runtime (javac test), NOT executed-equivalent against GnuCOBOL. Oracle is GnuCOBOL plus our stub, not z/OS.Class / Sibling gaps
Class: CICS WEB client-session options refused by name for IBM silence; this PR lifts WEB WRITE HTTPHEADER SESSTOKEN (the member sharing the session/WEB-CONVERSE mechanism). Server WEB WRITE HTTPHEADER unchanged and tested (spec, oracle, det translator). Sibling gaps: WEB CONVERSE URIMAP (refused #7753, per-request URIMAP not stated; different mechanism); WEB CONVERSE NOTRUNCATE (client, response kept for later RECEIVEs); WEB CONVERSE CHARACTERSET / BODYCHARSET / DOCTOKEN / CONTAINER / SET; WEB READ HTTPHEADER SESSTOKEN (a response's headers, refused); WEB SEND client form; GnuCOBOL stub support for session headers (ggcics_web.c).
Remaining slices
Files
Six hand-written files, over the 5 cap by one, for this reason:
test_det_translate.pypinned the old refusal (client form) for WRITE, so its one-line assertion has to change with the spec; the other five are the minimum for one feature (spec, runtime, det translator, oracle refusal, test).docs/language_status/cobolrt_api.jsonis regenerated (the new public overload).File-cap exception: tests/cobol_mainframe/test_det_translate.py is a one-line change (its loop pinned the old WRITE SESSTOKEN refusal, which this PR lifts); the other five files are one feature.
Tests
tests/cobol_mainframe/test_web_write_httpheader_client_7525.py(spec, oracle refusal + server form still translates, translator token passing for client vs server, javac run of the runtime: NOTOPEN / LENGERR 35 / 55 / two headers carried by each later converse / NOTOPEN after CLOSE); test_det_translate, test_cics_spec, test_equivalence_cics_spec, test_cics_family_split, test_source_reads green;cobolrt_api.py --checkholds.Lessons for agents
cics_task_web.pyJava is inside a Python"""string: a Java"\n"must be written"\\n"in the .py.test_equivalence_cics_spec.py(matchesclient formin the oracle refusal text) andtest_det_translate.py: grep both before the first push.Cross-repo: none (no crucible pin change; the cics-crucible corpus is untouched).
🤖 Generated with Claude Code