Use this command to create a copy (mirrored volume) of a recovery log volume. Mirroring the recovery log increases the recovery log availability and provides a safeguard against media failure. You can have as many as two copies of a recovery log volume. After each recovery log volume copy is defined, the server attempts to synchronize the volume copy with the recovery log.
All recovery log volumes reside on a random access volume. Volume copies must have at least the same capacity as the original volume and should be defined on separate physical devices. Any additional space on the volume copy is not used.
This command generates a background process that you can cancel with the CANCEL PROCESS command. If a DEFINE LOGCOPY process is canceled, the volume copy is created. However, synchronization processing is canceled leaving the volume in a stale state. To display information on background processes, use the QUERY PROCESS command.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-DEFine LOGCopy--volume_name--copy_volume_name---------------><
Parameters
For VSAM linear data sets, specify a standard VSAM cluster name. A VSAM cluster name consists of one or more qualifiers, which are delimited by periods. The length of each qualifier is from 1 to 8 alphanumeric characters. The maximum length of the cluster name is 42 characters. An example is ADSM.BFS.SPOOL2.VOLA.
Examples
Task
Create a recovery log volume copy named GLEDDIE.ADSM.PINV for the recovery log volume named HARVEY.ADSM.PINV.
Related Commands
Table 50. Commands Related to DEFINE LOGCOPY
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
DEFINE LOGVOLUME | Defines a disk volume to the recovery log. |
DELETE LOGVOLUME | Deletes a volume from the recovery log. |
QUERY LOGVOLUME | Displays information about log volumes. |
QUERY PROCESS | Displays information about background processes. |