What does a dataset rule with VOL() mean?

Document ID : KB000044692
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What does a dataset rule with VOL() mean?  The rule line I have is this:

- VOL() UID(uid string) READ(A) WRITE(A) ALLOC(A) EXEC(A) 

 

Answer:

ACF2 has certain parameters that make up the environment.  If the environment does not match, the rule line is skipped.  VOL or Volume, is one of those parameters.

VOL() means that ACF2 will look for a volume with 8 spaces as the label.  Since that is unlikely, then that rule line would never be used.

 

Additional Information:

 Environment

Specifies what is to be accessed, who can access it, and under what conditions the access can take place. The parameters that specify the environment are as follows:

? ACTIVE

? DDNAME

? DSNMASK

? FOR

? LIBRARY

? PROGRAM

? SHIFT

? SOURCE

? VOLUME

? UID

? UNTIL

 

See the ACF2 Administrator Guide for more information on dataset and resource rules.