-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

5.9 DASDINIT (DASD image file creation)

5.9.1 Function

The Hercules DASD image file creation program (DASDINIT) is used to create an empty DASD image
file.

5.9.2 Syntax

Descriptive

DASDINIT [-option [-option ... ]]
filename devtype[-model]
volser [size]

Diagram

Êʬ¬¬ DASDINIT ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬Ê







-option ¬¬¬¨¬¬¬¯



ʬ¬¬ devtype ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬ volser ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ



-model ¬¬¬¯



-size ¬¬¬¯

5.9.3 Parameter

options:

-v

Display version information and help text.

-z

Build compressed DASD image file using zlib.

-bz2

Build compressed DASD image file using bzip2.

-0

Build compressed DASD image file with no compression (0 = zero).

-lfs

Build a large (uncompressed) DASD file (single file), if it is supported on the plat-
form DASDINIT is running on.

-a

Build a DASD image file that includes alternate cylinders. This option is ignored if
the size is manually specified.

-r

Build raw DASD image file (no VOL1 or IPL track).

-b

Make the wait PSW in the IPL1 record a BC-mode PSW. If this option is not spe-
cified, the wait PSW will be an EC-mode PSW.

Previous Page Next Page