Home

 

ARCHIVE LOG

 

Compaq NSK HP OpenVMS i5/OS UNIX systems Windows z/OS
          12CR

For an explanation of the symbols in the z/OS column, see Using commands in z/OS.

Use ARCHIVE LOG as part of your backup procedure. It takes a copy of the current active log (or both logs if you are using dual logging).

In detail, it does the following:

  1. Truncates the current active log data sets.

  2. Continues logging, switching to the next active log data set.

  3. Starts a task to off-load the data sets.

  4. Archives previous active log data sets not yet archived.

If the MODE(QUIESCE) parameter is used, the ARCHIVE LOG command quiesces (suspends) all user update activity on the current active log before the off-load process. Once a system-wide point of consistency is reached (that is, when all currently active update users have reached a commit point), the current active log data set is immediately truncated, and the off-load process is initiated. The resulting point of consistency is captured in the current active log before it is off-loaded.

Normally, control returns to the user immediately, and the quiescing is done asynchronously. However, if the WAIT(YES) parameter is used, the quiescing is done synchronously, and control does not return to the user until it has finished.

Synonym: ARC LOG


ARCHIVE LOG >>-ARCHIVE LOG--------------------------------------------------> >--+---------------------------------------------------------+-->    | .-WAIT(NO)--. |       +-MODE--(--QUIESCE--)--+-----------------+--+-----------+-+       | '-TIME--(--nnn--)-' '-WAIT(YES)-' |       '-CANCEL OFFLOAD------------------------------------------'       .-CMDSCOPE(' ')-----------------.    >--+-------------------------------+---------------------------><    | (1) |       '-CMDSCOPE--(--qmgr-name--)-----'   

Notes:

  1. Valid only on z/OS when the queue manager is a member of a queue-sharing group.

 

Parent topic:

The MQSC commands


sc10780_


 

Home