-lfs
Output CKD file will be a single file even if it exceeds 2 GB in size.
-o type
Output file type (CKD, CCKD, FBA, CFBA).
arguments:
infile
The input DASD file.
shadowfile
The (optional) name of an associated shadow DASD file.
outfile
The output DASD file.
5.8.4 Examples
Example 1:
Copy the compressed DASD file (CCKD) MVSRES.CCKD to SARESX.148, uncompress it (CKD file) and
replace an already existing file with the same name.
DASDCOPY -r -lfs D:/MVS/DASD/MVSRES.CCKD D:/MVS/DASD/MVSRESX.148
Example 2:
Copy the compressed DASD file (CCKD) MVSRES.CCKD to SARESX.148, uncompress it (CKD file) and
create 2 separate files for systems which do not support large file support.
DASDCOPY D:/MVS/DASD/MVSRES.CCKD D:/MVS/DASD/MVSRESX.148
5.8.5 Sample Utility Output
Sample 1:
Copy the DASD image file MVSRES.CCKD to the new DASD image file SARESX.148. Do not create a
large image file (> 2 GB), create two separate files instead.
D:\HERCULES>dasdcopy D:/MVS/DASD/MVSRES.CCKD D:/MVS/DASD/SARESX.148
HHCDU044I Creating 3390 volume : 3339 cyls, 15 trks/cyl, 56832 bytes/track
HHCDU041I 2519 cylinders successfully written to file D:/MVS/DASD/SARESX_1.148
HHCDU041I 820 cylinders successfully written to file D:/MVS/DASD/SARESX_2.148
/ 100% 50085 of 50085
HHCDC010I Copy successful !!!
Figure 37: DASDCOPY utility output