IBM Support

MS0L: WebSphere MQ Linear Logfile Maintenance In Java

Downloadable files


MS0L provides a Java based utility for performing Linear Logfile Maintenance on either UNIX or Windows Servers.

Download Description

The MS0L SupportPac provides a Java based utility for performing MQ Linear Logfile Maintenance on either UNIX or Windows Servers.

Possible Uses
These programs should be executed nightly, in concert with the MQ Record Media Image (rcdmqimg) function.

NOTE: It is imperative that the oldest files required for restart and recovery are not deleted, or the restart or recovery of MQSeries will not be possible.

The Java MQSeries Linear Logfile Maintenance program does not perform permanent deletion of any of these files, but rather stores them to an archive so that any additional files that may be required for MQ restart or recovery will be easily available.

Skill Level Required
This program can be triggered from a shell script on UNIX platforms or from a Windows batch file on a Windows based system.

Basic understanding of these scripting languages, as well as knowledge of the relevant systems scheduling facilities is required.

New in this Release
• a) Support for MQ version 7.0.1 flexible naming in a Unix environment:

The previous version of the SupportPac made some basic assumptions:
1. Default base was "/var/mqm"; this could be overridden with the -d option
2. The Queue Manager directory would be located at:

This is where the qm.ini file would be located. an additional option has
been provided in this update to allow changing the value of the default
"qmgrs" subdirectory: -s <QmgrSubdirectory>

To define a non-standard directory path where:

Base directory at: /someOther/directory
QMGRS directory at: /someOther/directory/aDataDirectory
QMGR name is: MYQMGR

specify options: -q MYQMGR -d /someOther/directory -s aDataDirectory

b) Option provided to generate archive file in jar format rather default zip: -o JAR

Author: Tim Von Niessen, IBM Canada
Category: 2
Released: 18Nov02
Last Updated: 23Feb10
Current Version: 2.1
»Please note that the version number shown in the right-hand pane is the version of the WebSphere MQ or WebSphere Message Broker product that this SupportPac applies to. The date is the last webpage refresh.

To view the complete portfolio of WebSphere MQ SupportPacs please visit the WebSphere MQ SupportPacs homepage.


This SupportPac Java program requires:
» Java V1.5 or later
» MQSeries V2.0, V5.x , V6.x or V7.x on supported UNIX or NT platforms

Installation Instructions

To install the SupportPac:
• Copy to a directory of choice
• Uncompress using the Zip utility of your choice .
• You may delete
• Follow the steps provided in the README file to complete the installation, and for details on usage.

Download package

Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options 23/02/2011 US English 131889 HTTP

Technical support

Category 2 SupportPacs are provided in good faith and AS-IS. There is no warranty or further service implied or committed and any supplied sample code is not supported via IBM product service channels.

You may submit a question or offer feedback on the SupportPac, but please be aware that a response is NOT guaranteed.

Please read the license file that accompanies the SupportPac to determine if you want to use it.

Product Alias/Synonym


Document information

More support for: WebSphere MQ

Software version: 6.0, 7.0

Operating system(s): Platform Independent

Reference #: 4006567

Modified date: 23 February 2011

Translate this page: