MQ

 View Only

 Can I use "userdata" for qm.ini and mqsc files?

Jump to  Best Answer
John Hawkins's profile image
John Hawkins IBM Champion posted Thu December 04, 2025 12:10 PM

Hi Folks,

 can't see anything on this anywhere so asking the group please...

I've want to use the qm.ini and mqsc use on startup function. I've got RDQM queue managers - am I OK to use the userdata folder which will be in the drbd share volume for each QM as the location to specify for the qm.ini and mqsc files? Seems reasonable to me but just wanted to get any opinions ! My main logic is that it will follow the QM around the quorum. But is there potential for e.g. that folder to get corrupted/cleaned by MQ on updates etc.?

thanks as always !

John.

Jamie Squibb's profile image
Jamie Squibb  Best Answer

Hi John,

MQ will not delete or modify content in the userdata folder unless you delete the queue manager. You can use it for whatever you need to, including template configuration files. This folder was specifically created to provide a place for user files and other state that needs to be replicated between nodes. Content in the folder will consume capacity from the RDQM queue manager file system, but a few small configuration files should have minimal impact. For larger amounts of data, its size will need to be considered when allocating the queue manager file system.

Kind regards,

Jamie

John Hawkins's profile image
John Hawkins IBM Champion

Perfect - thanks Jamie!

om prakash's profile image
om prakash IBM Champion

Agree to @Jamie Squibb.

It is a useful folder; and it is a hidden folder which is not yet exposed in any docs on what would be the future state. 

Use it for storing utility scripts which can get triggered using MQ trigger. It is local to the filesystem.

Jamie Squibb's profile image
Jamie Squibb

Further to my previous reply, the userdata directory is documented at https://www.ibm.com/docs/en/ibm-mq/9.4.x?topic=multiplatforms-userdata-directory