z/OS DFSMShsm Managing Your Own Data
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


IDCAMS considerations

z/OS DFSMShsm Managing Your Own Data
SC23-6870-00

IDCAMS commands allow either the INFILE or FILE keywords to refer to DD statements. The DD statements specify a data set name or volume serial, or both, to be used for processing the commands.

If a DD statement referred to by either the INFILE or FILE keywords specifies both a data set name and a non-SMS-managed volume and the data set has been migrated by DFSMShsm, the IDCAMS command request may not be performed successfully. If an error occurs in this condition, one of the following actions should be taken prior to reissuing the IDCAMS command:

  1. Specify the DD statement without specifying the volume serial and unit names. This causes the data set to be allocated when the job step is initiated, and the migrated data set will be recalled for the allocation request.

    In some cases, such as specification of the AMP = (AMORG) for VSAM data sets, the volume serial number must be specified on the DD statement. In such cases, the second action should be taken, rather than the first.

  2. Recall the migrated data set by doing one of the following:
    • Issue a DFSMShsm recall command (RECALL or HRECALL).
    • Cause the data set to be recalled by referring to the data set in a prior step (a step different from the one where the IDCAMS command is being requested) without specifying a volume serial number.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014