fix(5250): preserve native Save/Restore state and field definitions #118

Merged
binjovi-bot merged 2 commits from codex/5250-save-restore into trunk 2026-09-13 20:32:32 +00:00
Owner

System Request previously closed the session when IBM i requested Save Screen. Save now returns a bounded, versioned native image, and Restore validates that image before replacing terminal state. Cancel Invite remains active until the host sends a new Read.

The change also retains field definitions across Read and partial WTD commands, preserves original bytes and field controls, matches the advertised 256-field capacity, and handles Read Immediate and CC1 null/MDT operations. Unsupported saved states fail explicitly.

Validation: all 1,061 offline tests pass. A pub400 System Request exchange saved and restored a typed DSPJOB command; the restored command opened Display Job and returned to the Main Menu. The exact committed binary will repeat the native evidence scripts before release. No ACS control or application object changes are used.

System Request previously closed the session when IBM i requested Save Screen. Save now returns a bounded, versioned native image, and Restore validates that image before replacing terminal state. Cancel Invite remains active until the host sends a new Read. The change also retains field definitions across Read and partial WTD commands, preserves original bytes and field controls, matches the advertised 256-field capacity, and handles Read Immediate and CC1 null/MDT operations. Unsupported saved states fail explicitly. Validation: all 1,061 offline tests pass. A pub400 System Request exchange saved and restored a typed DSPJOB command; the restored command opened Display Job and returned to the Main Menu. The exact committed binary will repeat the native evidence scripts before release. No ACS control or application object changes are used.
fix(5250): preserve native state across Save and Restore Screen
All checks were successful
binjovi/ci Binjovi completed the frozen plan
86139973e2
fix(5250): reject incomplete replies and support 256 DBCS fields
All checks were successful
binjovi/ci Binjovi completed the frozen plan
7765064792
binjovi-bot deleted branch codex/5250-save-restore 2026-09-13 20:32:32 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/zelnet!118
No description provided.