z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


COPYMOD Statement

z/OS DFSMSdfp Utilities
SC23-6864-00

Use the COPYMOD statement to copy load module libraries that you want to reblock. The output data set must be partitioned. The input data set may be a partitioned or a sequential data set created by an unload operation. If the input to COPYMOD is not a valid load module, COPYMOD functions as a COPY.

The syntax of the COPYMOD statement is:

Label Statement Parameters
[label] COPYMOD OUTDD=DDname
    ,INDD=[(]{DDname|(DDname,R) }[,...][)]
    [,MAXBLK={nnnnn|nnK}]
    [,MINBLK={nnnnn|nnK}]
    [,LIST={YES|NO}]
where:
OUTDD=DDname
specifies the name of a DD statement that locates the output data set.
INDD=[(]{DDname| (DDname,R)}[,...][)]
specifies the names of DD statements that locate the input data sets.

When an INDD=appears in a record by itself (that is, not with a COPY keyword), it functions as a control statement and begins a new step in the current copy operation.

These values can be coded:
DDname
specifies the ddname, which is specified on a DD statement, of an input data set which is a load module library.
R
specifies that all members to be copied from this input data set are to replace any identically named members on the output load module library. (In addition, members whose names are not on the output data set are copied as usual.) When this option is specified, the ddname and the R parameter must be enclosed in a set of parentheses; if it is specified with the first ddname in INDD, the entire field, exclusive of the INDD parameter, must be enclosed in a second set of parentheses.
MAXBLK={nnnnn|nnK}
specifies the maximum block size for records in the output partitioned data set. MAXBLK is normally used to specify a smaller block size than the default, in order to make the record length of the data set compatible with different devices or programs.

The nnnnn value is specified as a decimal number; K indicates that the nn value is to be multiplied by 1024 bytes.

MAXBLK may be specified with or without MINBLK. Specifying a MAXBLK that is larger than the blocksize of the target data set will change the data set blocksize to the MAXBLK value.

Default: The COPYMOD MAXBLK parameter defaults to the output data set block size. If the output data set block size is zero, it defaults to the input data set block size.

MINBLK={nnnnn|nnK}
specifies the minimum block size for records in the output partitioned data set. MINBLK specifies the smallest block that should be written on the end of a track.

The MINBLK keyword is provided for compatibility with earlier MVS releases in which a larger, less-than-track-size MINBLK value could enhance program fetch performance for the module. Under normal circumstances, MINBLK should not be specified.

The nnnnn value is specified as a decimal number; K indicates that the nn value is to be multiplied by 1024 bytes.

MINBLK may be specified with or without MAXBLK.

Default: 1K (1024). If a value greater than MAXBLK is specified, MINBLK is set to the MAXBLK value actually used (whether specified or defaulted). If a value less than 1K is specified, MINBLK is set to 1K.

LIST={YES|NO}

specifies whether the names of copied members are to be listed in the SYSPRINT data set at the end of each input data set. When this parameter is omitted, the default from the EXEC PARM field applies.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014