Examples of how to code the SWAPLOG command

The following examples present how to code the SWAPLOG command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Swapping the DFSMShsm LOGX and LOGY data sets

In this example, since no optional parameter is specified, the DFSMShsm log data sets are swapped.
   SWAPLOG

Swapping the DFSMShsm LOGX and LOGY data sets

In this example, the DFSMShsm log data sets are swapped.
   SWAPLOG LOG

Swapping the DFSMShsm PDA data sets

In this example, the DFSMShsm PDA data sets are swapped.
   SWAPLOG PDA

Swapping both the DFSMShsm log and PDA data sets

In this example, both the DFSMShsm log and PDA data sets are swapped.
   SWAPLOG LOG PDA