[UNIX, Linux, Windows, IBM i]

SET LOG (notify completion of log archiving) on Multiplatforms

On Multiplatforms, use the MQSC command SET LOG to notify the queue manager that archiving of a log extent is complete. If the log management type is not ARCHIVE, the command fails.

Using MQSC commands

For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.

Synonym: SET LOG

SET LOG

Read syntax diagramSkip visual syntax diagram SET LOG ARCHIVED (  name )

Parameter descriptions for SET LOG

ARCHIVED ( name )
The extent name, for example, S0000001.LOG.

Usage notes

This command requires change authority on the queue manager object.

The command fails if the log extent is not recognized, or is being written.

The command does not fail if the extent has already been marked as having been archived.

Extents prefixed with the letter R are extents that are waiting to be reused so these extents cannot be passed to SET LOG ARCHIVED.

Any extent (prefixed with S) can be archived and passed to SET LOG ARCHIVED, except for the current extent. So extents needed for restart or media recovery, or both, can be archived and passed to SET LOG ARCHIVED because the queue manager has finished writing to them.

Note that extents can be archived and passed to SET LOG ARCHIVED in any order - not necessarily in the order in which they were written.

A message is written to the error log if the queue manager is notified about an extent more than once, either from this command, or the RESET QMGR (reset a queue manager) command.

This command is not valid on IBM® i.