Add R hotkey to recall migrated data sets with live indicator#32
Merged
Conversation
Pressing R on a migrated data set submits an HRECALL through z/OSMF and marks the row with an animated RECALL indicator. Since z/OSMF reports no recall progress, the catalog is polled every few seconds until the data set leaves migration storage, then the row refreshes in place with its new volume. Opening a migrated data set now hints at the hotkey instead of failing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Tannex
force-pushed
the
migrated-dataset-recall
branch
from
July 19, 2026 14:29
644c7b8 to
3fdf3af
Compare
The watcher listed the catalog with the exact DSN as a prefix, and the client force-appends a wildcard to wildcard-free prefixes. For names with an eight-character last qualifier (or 44 characters total) that produced an invalid dslevel, so every check failed silently and the watch warned after the cap even though the recall had completed - while a manual refresh showed it immediately. Catalog checks now use an exact-name dslevel lookup, poll errors are remembered and surfaced in the give-up warning, the watch backs off in stages (3s/10s/30s) to cover roughly half an hour for tape recalls, and any data set browse result resolves pending recall indicators so a manual refresh finishes the watch on the spot. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A wildcard-free prefix is now an exact catalog lookup, which is what the recall watcher needs, and prefix searches require the user to spell out * or % themselves. This removes the ExactName request flag added for the watcher and the append special case. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
zosmf.Recallercapability,PUT …/restfiles/ds/<dsn>with{"request":"hrecall","wait":false}).⠋ RECALLindicator. z/OSMF exposes no recall-progress API, so completion is observed by re-listing the data set every 3 s until it leaves migration storage (capped at ~5 min, then a WARN status).recalled DSN to VOL001.… is migrated; press R to recall it.Recalleris a separate optional interface so the read-onlyBrowsersurface (and its fakes/demo) stay untouched; sessions that can't recall get a WARN.Testing
go build ./... && go vet ./... && go test ./...all green;gofmt -lclean.IsMigrated, and the full TUI flow: start → poll while migrated → complete and refresh row, plus failure, unsupported-session, not-migrated, attempt-cap, and open-hint paths.🤖 Generated with Claude Code