+

Search Tips | Advanced Search

crtmqdir (create IBM MQ directories)

Create, check, and correct IBM MQ directories and files.


Purpose

Use the crtmqdir command to check that the necessary directories and files used by IBM MQ exist and have the appropriate ownership and permissions. The command can optionally create any missing directories or files, and correct any inconsistent ownership or permissions.

The system-wide directories and files are created as part of the IBM MQ installation procedure. The tool can subsequently be run to check or ensure that the necessary IBM MQ directories and files continue to have appropriate ownership and permissions.

Important: You must have sufficient permission to determine whether the configuration is correct and, optionally, correct that configuration.

On Windows, this typically means that you are a member of the IBM MQ administration group. This is necessary when using the -a or -m parameters.

On IBM i, you must run the command as a member of the IBM MQ administrative group. This is necessary when using the -a or -m parameters, together with the -f parameter.

On UNIX, this typically means that you are the mqm user. This is necessary when using the -a or -m parameters, together with the -f parameter.

Depending on the configuration, the crtmqdir command might require you to be an operating system administrator, or superuser.

Note: The security of data path/log/qm, on UNIX, is set to 2770.


Syntax

crtmqdir -a-mQMgrName-s-f-xstandardhigh


Required parameters


Optional parameters


Return codes

Return code Description
0 Successful completion
10 A warning occurred
20 An error occurred


Examples