Creating the broker directory on z/OS

This is part of the larger task of creating a broker on z/OS .

Before you start

Before starting this step, you must have completed Creating the broker PDSE.

Use the TSO command OMVS to get into OMVS. Create the broker root directory using:
 mkdir <ComponentDirectory>
where <ComponentDirectory> is to be the root directory of your broker. For example:
mkdir  /var/wmqi/MQP1BRK
Use the following command to display the contents of the directory, which is currently empty:
ls -dl /var/wmqi/MQP1BRK
Use the ls -l /var/wmqi/MQP1BRK command to display the permissions on the directory.
Ensure that the user ID of the person doing the customization has a group that matches the group of the directory. Issue the following command, where userid is the ID you want to check:
id userid
Check that the directory has a valid group and that the group has rwx permissions. If they do not, issue the following command to set the group of the directory:
chgrp group pathname
For example:
chgrp WMQI /var/wmqi/MQP1BRK
You might need super user authority to issue this command.
To give the group READ, WRITE, and EXECUTE access, issue:
chmod g=rwx pathname
For example:
chmod g=RWX /lpp/wmqi/MQP1BRK 
To display the amount of space used and available, use the command:
df -P /var/wmqi/MQP1BRK
Related concepts
Brokers
Broker domains
Related tasks
Creating a broker on z/OS
Creating the broker PDSE
Creating the broker runtime environment on z/OS