The QUERY command is also used to determine tape volumes that are to be requested for backup and migration if volumes are available for selection.