The syntax of the MOVE command is almost identical to the syntax of EXPORT. However, MOVE requires a new OUTPUT command to direct the location of the new output VSAM data set.
Note: For more detail on the EXPORT command syntax, see the section EXPORT Command.
The MOVE command requires identification of the new volume to which the data set will be moved. The new volume information is to be provided through the *AMS command, as follows:
//SYSIN DD *
MOVE
CLUSTER
CL=HILVLNOD.FAVR.VSAM1
OUTPUT
CLUSTER
CL= HILVLNOD.FAVR.VSAM1 *AMS -
CLUSTER(NAME (HILVLNOD.FAVR.VSAM1)) -
VOLUMES(PACK_1)
|
Copyright © 2011 CA.
All rights reserved.
|
|