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 task, you must have completed Collecting the information required to create a broker and Creating the broker PDSE.

  1. Use the TSO command OMVS to get into OMVS.
  2. Create the broker root directory using the command:
     mkdir -p <ComponentDirectory>
    The name of the directory must be the same as the JCL variable ++COMPONENTDIRECTORY++.
  3. Display the contents of the directory, which is currently empty, using the command:
    ls -dl /var/wmqi/MQP1BRK
  4. Display the permissions on the directory using the command:
    ls -l /var/wmqi/MQP1BRK
  5. Ensure that the user ID of the person doing the customization has a group that matches the group of the directory. Use the command, where userid is the ID you want to check:
    id <userid>
  6. Check that the directory has a valid group and that the group has rwx permissions. If they do not, use the command to set the group of the directory:
    chgrp <group> <pathname>
    For example:
    chgrp WMQI /var/wmqi/MQP1BRK
    You have to be the owner of the group or have superuser authority to use this command.
  7. To give the group READ, WRITE, and EXECUTE access, use the command:
    chmod g=rwx <pathname>
    For example:
    chmod g=rwx /usr/wmqi/MQP1BRK 
  8. 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
Checking the permission of the installation directory