z/OS data set shows MIGRAT: recall it with HRECALL
MIGRAT in the volume column means DFSMShsm moved an unused data set off its volume. Using it recalls it automatically, or recall it ahead of time with HRECALL.
In an ISPF data set list (option 3.4), a data set shows MIGRAT where the volume serial should be. It has been migrated: DFSMShsm, the storage manager, moved it off its normal disk volume to save space because nobody had used it for a while. Only cataloged data sets are migrated. The data is still there, but it has to be recalled before it can be used.
Automatic recall
As soon as you refer to a migrated data set, for example by opening it in Browse or Edit, or by naming it in a batch job, DFSMShsm recalls it to a normal volume first. That can take a moment for data on disk, and much longer if it was migrated to tape, because a tape has to be mounted. Your session or job waits until the recall ends.
Recall it yourself with HRECALL
To start the recall before you need the data, enter the TSO command, for example from ISPF option 6 or with the TSO prefix on any command line:
HRECALL 'USER1.TEST.DATA'
The shortest form is HRECA. Without quotes, TSO adds your prefix to the name. A filter such as HRECALL 'USER1.*.DATA' recalls a group, and you can list several names in parentheses.
- NOWAIT, the default: the request is queued and your terminal is free at once.
ARC1007Isays the request was received;ARC1000Ifollows when the recall ends, orARC1001Iif it failed. - WAIT: the command waits until the recall ends, then shows
ARC1000IorARC1001I. IBM suggests NOWAIT for data on tape.
HRECALL works on whole data sets. If you add a member name, it shows ARC1065I and recalls nothing.
From the ISPF data set list
You can type a TSO command in the line command field next to a data set in 3.4. With no other operands, ISPF passes the data set name as the first operand, so typing HRECALL next to the MIGRAT line recalls that data set. Use / to stand for the data set name if the command needs other operands, for example HRECALL / WAIT.
Related
- Run a TSO command from ISPF: the TSO prefix, option 6, and HELP that opens ISPF help
- TSO commands
- z/OS space abends B37, D37 and E37 (IEC030I, IEC031I, IEC032I): data set out of space
- Delete z/OS data sets with a wildcard: DELETE generic names, MASK and ISPF 3.4
- ISPF navigation basics