Strovent SystemsSign in
Reference

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. ARC1007I says the request was received; ARC1000I follows when the recall ends, or ARC1001I if it failed.
  • WAIT: the command waits until the recall ends, then shows ARC1000I or ARC1001I. 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.

Sources

Spotted a mistake? Email [email protected].