Examples of how to code the RECALL command

The following examples present different ways to code the RECALL command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Recalling an SMS-managed data set to a non-SMS-managed volume

In this example, a data set that was SMS-managed at the time it was migrated is recalled as a non-SMS-managed data set.
   RECALL JMG4916.PLACE.TEXT FORCENONSMS VOLUME(VOL255) UNIT(3390)

Recalling an SMS-managed data set to a volume selected by ACS services

In this example an SMS-managed data set is recalled to a volume selected by automatic class selection routines.
   RECALL JMG2384.PLACE2.TEXT

Recalling a non-SMS-managed data set to a specific volume

In this example, the data set is recalled to a specific volume.
   RECALL XXX5634.PARTS.ASM VOLUME(VOL123) UNIT(3390)

Recalling a non-SMS-managed data set to a volume selected by DFSMShsm

In this example, the data set is recalled to a primary volume selected by DFSMShsm.
   RECALL LHE1256.REVISION.TEXT

Recalling a DA data set for relative block accessing

In this example, a data set is directed to a specific volume and the data is moved so that it can be accessed by relative block addressing.
   RECALL ND5718.PARTS DAOPTION(RELBLK)  +
   VOLUME(VOL195) UNIT(3390)

Recalling a data set that failed because of inadequate space

In this example, a data set was not recalled by DFSMSdss because an inadequate space condition occurred. The RECALL command can be issued again with the VOLCOUNT parameter allowing the data set to be recalled to as many volumes as needed (maximum of 59) for successful allocation. DFSMShsm passes the VOLCOUNT parameter to DFSMSdss.
   RECALL C253800.ID.PARTS DFDSSOPTION(VOLCOUNT(ANY))