The COPY command requires identification of the new VSAM data set name. The new VSAM data set name information is provided through the *AMS command, as follows:
//SYSIN DD *
COPY
CLUSTER
CL=HIGHLVL.FAVR.TESTCPY
OUTPUT
CL=HIGHLVL.FAVR.TESTCPY *AMS -
CLUSTER(NAME (HIGHLVL2.FAVR.TESTAMS3) -
KEYS(80 80) -
RECSZ(256 256) -
NOERASE -
NOIMBED -
NOREUSE -
NOWRITECHECK -
STORCLAS(SMDPOOL) -
SHR(1,3)) -
DATA(NAME (HIGHLVL2.FAVR.TESTAMS3.DATA) -
CISZ(8192) -
CYL(5 2)) -
INDEX(NAME (HIGHLVL2.FAVR.TESTAMS3.INDEX) -
CISZ(4096) -
TRK(1 1))
|
Copyright © 2011 CA.
All rights reserved.
|
|