The source and the target device must be of the same type and must be within the same RVA subsystem. (If you are using test partitions, the source and the target must also be in the same partition.)
4.1.3 A Non-VSAM File
You copy a file by indicating the data set name on the source device, using the DSN= (data set name) parameter, in addition to identifying the source and target device address or VOLID labels. The file specified must be
To illustrate, we use two volumes: PATEV1 and PATEV2. The device addresses of these volumes are 80E and 80F, respectively. To copy file ′test.data.1′ in volume 80E onto volume 80F, issue one of the following commands:
∙
∙
IXFP SNAP,80E(DSN=′ test.data.1′ ) : 8 0 F,NOPROMPT
IXFP SNAP,PATEV1(DSN=′ test.data.1′ ) : 8 0 F,NOPROMPT
If you want to copy file ′test.data.1′ to cylinder 1000 on volume 80F, you must specify the target start cylinder (tcyl). Issue one of the following modified commands:
∙
∙
IXFP SNAP,80E(DSN=′ test.data.1′ ) : 8 0 F(1000),NOPROMPT
IXFP SNAP,80E(DSN=′ test.data.1′ ) : PATEV2(1000),NOPROMPT
Notes:
If source is identified by its VOLID, it must be either the only volume with that VOLID or the only VOLUME with that VOLID that is up (DVCUP). Otherwise an error message will be issued.
The target device must be down (DVCDN) before you initiate the volume snap, except when the source and the target are the same device.
If the target device is identified by its VOLID, it must be either the only volume with that VOLID or the only volume with that VOLID that is down (DVCDN). Otherwise an error message will be issued.
The highest (end) cylinder number must not exceed 32767 or the maximum number of cylinders of the devices. The start cylinder number must not be greater than the end cylinder number.
You cannot use the VOL1 parameter when copying a
When you snap files, VSE performs VTOC checking on the specified target device and provides warning messages regarding overlapping extents or secured or unexpired files.
The source and the target device must be of the same type and must be within the same RVA subsystem. (If you are using test partitions, the source and the target must also be in the same partition.)
See B.1, ªSNAP Commandº on page 43 for additional illustrations.