This is part of the larger task
of creating a broker on z/OS®.
- Use the TSO command OMVS to get into OMVS.
- 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++.
- Display the contents of the directory, which is currently
empty, using the command:
ls -dl /var/wmqi/MQP1BRK
- Display the permissions on the directory using
the command:
ls -al /var/wmqi/MQP1BRK
- Ensure that the user ID of the person doing the customization
has a group that matches the group of the directory. Use
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, use the following
command to set the group of the directory:
chgrp <group> <pathname>
For
example: chgrp WMQI /var/wmqi/MQP1BRK
You must
be the owner of the group, or have superuser authority, to use this
command.
- To give the group READ, WRITE, and EXECUTE access, use
the following command:
chmod g=rwx <pathname>
For example: chmod g=rwx /usr/wmqi/MQP1BRK
- To display the amount of space used and available, use
the following command:
df -P /var/wmqi/MQP1BRK