Previous Topic: Administer Online Activity Log Files

Next Topic: Online Log Exit


Swap the Online Log

The online activity log automatically swaps to a fresh VSAM file when each file fills up.

You can manually swap your currently active VSAM file if you want to free a particular log file (for example, for backups).

Important! Swapping the current VSAM log causes the $LOPROC procedure to write all subsequent activity log records to the next VSAM log. If this log was previously used, it is reset. Therefore, you can no longer browse the old records that it contained.

To swap the online activity log

  1. Enter /LOGSWAP at the prompt.

    The Activity Log Services : Confirm Swap Log panel appears.

  2. Press F6 to request the log swap, or F12 to cancel your request.

    Note: If the $LOPROC procedure encounters a VSAM error when it is logging activity to an online log file, it automatically swaps to the next log file.