Controlling archiving and logging
You can control compression, printing, archiving, recovery and logging with using the CSQ6LOGP, CSQ6ARVP, and CSQ6SYSP macros. Note, that changes to private objects only are logged in IBM® MQlogs. Changes to GROUP objects (like shared inbound channels) are also logged, because the definitions are propagated around the group and held locally.
Many aspects of archiving and logging are controlled by parameters set using the CSQ6LOGP, CSQ6ARVP and CSQ6SYSP macros of the system parameter module when the queue manager is customized. See Task 17: Tailor your system parameter module for details of these macros.
SET command | Parameters |
---|---|
LOG | WRTHRSH, MAXARCH, DEALLCT, MAXRTU, COMPLOG |
ARCHIVE | All |
SYSTEM | LOGLOAD |
Controlling log compression
- The SET and DISPLAY LOG commands in MQSC; see The MQSC commands
- Invoking PCF interface. See Introduction to Programmable Command Formats
- Using the CSQ6LOGP macro in the system parameter module; see Using CSQ6LOGP
Printing log records
You can extract and print log records using the CSQ1LOGP utility. For instructions, see The log print utility.
Recovering logs
Normally, you do not need to back up and restore the IBM MQ logs, especially if you are using dual logging. However, in rare circumstances, such as an I/O error on a log, you might need to recover the logs. Use Access Method Services to delete and redefine the data set, and then copy the corresponding dual log into it.