Safeguard Reference Manual (G06.24+, H06.03+ )

Common SAFECOM Language Elements
Safeguard Reference Manual520618-013
2-2
Wild-Card Characters
attributes of all disk files whose names are five characters long and whose first four
characters are ACCT.
=INFO DISKFILE acct*
=INFO DISKFILE acct?
Similarly, the following command displays the attributes of all disk files in the current
subvolume whose names begin with the letter C and end with the letter T:
=INFO DISKFILE c*t
This command displays the attributes of all disk files in the current subvolume whose
names are three characters long, begin with the letter C, and end with the letter T:
=INFO DISKFILE c?t
Wild-card characters make it easy to execute commands on sets of objects with similar
names. Typical uses of wild-card characters include adding disk files with similar
names to the Safeguard database or displaying information about files with similar
names.
Consider the following important points about the use of wild-card characters:
You cannot use wild cards in SECURITY-GROUP and OBJECTTYPE commands.
You can use some wild cards in ADD commands:
°
You can use wild cards in ADD commands for disk files, volumes, and
subvolumes. An ADD command for one of these types of objects affects only
objects that already exist. For example, the following command protects only
files that currently exist on volume $VOL1 and subvolume DATA.
=ADD DISKFILE $VOL1.DATA.*
°
You cannot use wild cards in ADD commands for users, devices, subdevices,
processes, subprocesses, audit pools, and terminal definitions.
You can use wild cards in user names or object names with any ALTER, INFO,
DELETE, FREEZE, or THAW command. For example:
=FREEZE USER op?.user*
=ALTER DISKFILE $sys*.??rx.*
=INFO DEVICE $lp*
You cannot use wild cards in SET, RESET, and SHOW commands, or in LIKE
clauses.
Wild cards are not meaningful in these commands.
You cannot use wild cards in WHERE GROUP and WHERE PRIMARY-GROUP
clauses or in WHERE clauses for USER and ALIAS commands.