Access Method Services commands allow you to specify either FILE
or INFILE to refer to DD statements that specify a data set name,
a volume serial, or both, to be used for processing the commands.
If a DD statement referred to by either FILE or INFILE specifies both
a data set name and a non-SMS-managed volume, and if the data set
has been migrated by DFSMShsm, the Access Method Services command
might not be performed successfully. If an error occurs for this condition,
perform one of the following two actions before you reissue the Access
Method Services command:
- If you need not specify the volume serial number on the DD statement,
specify the DD statement without specifying the volume serial number
and unit name. This specification causes the data set to be allocated
when the job step is initiated, and the migrated data set is recalled
for the allocation request.
- If you must specify the volume serial
number on the DD statement [such as when you specify AMP = (AMORG)
for VSAM data sets], recall the data set either:
- Explicitly by issuing a DFSMShsm RECALL or HRECALL command
- Implicitly by referring to the data set without specifying the
volume serial number in a step that precedes the step where the Access
Method Services command is being requested