z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of PRTITION and OPENRULE commands

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

These examples show how PRTITION and OPENRULE commands can be used.

The sample commands in Figure 1 shows the volumes in the 'prefix' volume set are defined to DFSMSrmm, but are not to be used and must be partitioned.
Figure 1. Volumes not used and partitioned
OPENRULE VOLUME(A*) TYPE(RMM) ANYUSE(REJECT)
PRTITION VOLUME(A*) TYPE(ALL) SMT(IGNORE) NOSMT(IGNORE)
The sample commands in Figure 2 shows the volumes defined to DFSMSrmm in the 'prefix' volume set cannot be used for output on this system.
Figure 2. Volumes not used on system
OPENRULE VOLUME(prefix) TYPE(RMM) -
      OUTPUT(REJECT) INPUT(ACCEPT)
The sample commands in Figure 3 shows volumes not defined to DFSMSrmm, but are partitioned and must not be used on this system.
Figure 3. Volumes partitioned and not used on system
OPENRULE VOLUME(*) TYPE(NORMM) ANYUSE(REJECT)
PRTITION VOLUME(*) TYPE(NORMM) SMT(IGNORE) NOSMT(IGNORE)
The sample commands in Figure 4 shows the following:
  • Three systems, SYSA, SYSB, and SYSC, that are each allowed to use only a single range of system-managed volumes (JT, JP, JX).
  • Each system has its own CDS and TCDB.
  • System-managed volumes are not to be automatically defined to DFSMSrmm.
  • Private volumes can be shared.
  • Undefined non-system-managed volumes can be used for input.
  • The ignoring of private system-managed volumes from other partitions and the ignoring of undefined non-system-managed volumes is required.
Note: You must use IDCAMS CREATE VOLENT to manually add private volumes temporarily to the another TCDB in order to mount volumes from another partition.
Figure 4. Three systems using a range of system-managed volumes
/* SYSA Example */
/* Allow read of undefined volumes */
OPENRULE VOLUME(*) TYPE(NORMM) -
INPUT(ACCEPT) OUTPUT(REJECT)
/* Ignore for input selected system managed volumes if authorized */
OPENRULE VOLUME(JP*) TYPE(NORMM) -
INPUT(IGNORE) OUTPUT(REJECT)
OPENRULE VOLUME(JX*) TYPE(NORMM) -
INPUT(IGNORE) OUTPUT(REJECT)
/* Global partition rules - ignore all volumes */
/* Allow EXPROC for NOSMT */
PRTITION VOLUME(*) TYPE(RMM) SMT(IGNORE) NOSMT(ACCEPT)
PRTITION VOLUME(*) TYPE(NORMM) SMT(IGNORE) NOSMT(IGNORE)
/* This partition owns JT* volumes if predefined */
PRTITION VOLUME(JT*) TYPE(RMM) SMT(ACCEPT)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014