Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 11: Replace a Load Module Using COPYMOD z/OS DFSMSdfp Utilities SC23-6864-00 |
|
In this example, a load module in an existing load library is replaced by another module. The new module originally resides on a 3390 DASD device, whereas the load library to which it is copied resides on a 3380. Because the module has a block size larger than the block size assigned to the output data set, the module must be reblocked before it is added to the load library. This example illustrates how you can transfer load modules between
devices of different sizes. In this case, updated modules are created
on a 3390 and tested before being added to the load library for general
use.
The control statements are discussed below:
Note that, in this case, COPYMOD has to be used in order to copy the member WAGETAX into the PAYROLL.MASTER.LOADLIB. Because the original block size of WAGETAX is larger than the largest block size that can reside in the output data set, attempting this operation with the COPY statement would be unsuccessful. The problem would be attributed to a DCB validation error because of incorrect block size. |
Copyright IBM Corporation 1990, 2014
|