Safeguard User's Guide (G06.24+, H06.03+)

Working with Patterns
Safeguard User’s Guide422089-009
9-2
How do Patterns Differ From What was Used
Before?
How do Patterns Differ From What was Used Before?
There are now two types of protection records that can secure disk files:
Diskfile protection records
Diskfile-pattern protection records
Diskfile protection records represented a one to one mapping of a protection record to
a disk file, or subvolume, or volume. Furthermore, for that diskfile protection record to
be legally entered into Safeguard, the disk file or subvolume was required to exist, or at
least the PERSISTENT option used.
Diskfile-pattern protection records have a one to many mapping of protection records
to diskfiles. Diskfile pattern protection records only represent fully qualified disk file
names, and cannot represent just subvolumes or volumes. However, patterns can be
used that will match all filenames in a subvolume ($DATA.SUBVOL.*), or all filenames
in all subvolumes in a volume ($DATA.*.*).
Pattern Examples
The following examples show some patterns that can be used on a G06.25 system,
and some illegal patterns that are not allowed.
Legal Protection Record Patterns
$D0201.*.*
A very general protection record that covers all diskfiles on $D0201.
$D0201.APP*.*
A pattern protection record that secures all diskfiles in subvolumes on $D0201 that
begin with APP.
$D0201.APPLOG.D*
A pattern protection record that secures diskfiles in $D0201.APPLOG that begin
with D.
$D0201.APPLOG.D???
A protection record that secures diskfiles with names that begin with D and are
exactly four characters long.
$D0201.SRC*.*H
A protection record that secures diskfiles on $D0201 that are in subvolumes that
begin with SRC, and filenames that have an H as the last letter.
Illegal Protection Record Patterns
$D0???.*.*