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

Working With SAFECOM
Safeguard User’s Guide422089-009
7-14
Error Handling in Command Files
session in which a batch operation uses the command file $system.mgr.tight to set up
current default values for disk-file attributes:
Only three commands are entered interactively: VOLUME, OBEY, and ADD. The
VOLUME command sets the default volume and subvolume. OBEY executes the
commands stored in $system.mgr.tight. The ADD command adds a disk file to the
Safeguard database and gives it the security settings set up in $system.mgr.tight.
Error Handling in Command Files
When SAFECOM encounters an error while processing a command file, it redisplays
the erroneous command and displays an error or warning message describing the
nature of the error. If the error does not cause the OBEY processing to abort,
SAFECOM continues processing the command file. SAFECOM error and warning
messages are described in the Safeguard Reference Manual.
Using Wild-Card Characters in SAFECOM
Commands
In most SAFECOM commands, you can use wild-card characters to match characters
in an object name. In certain instances, you can also specify wild-card characters in
user names. The following wild-card characters are supported:
Wild-card characters make it easy for you to execute commands on sets of objects
with similar names, as shown in the following examples. 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.
=VOLUME $system.mgr
=OBEY tight
=ASSUME DISKFILE -- Build default ACL for DISKFILE
.
.
.
=SHOW -- Display current defaults
TYPE OWNER
DISKFILE 255,8
AUDIT-ACCESS-PASS = NONE AUDIT-MANAGE-PASS = NONE
AUDIT-ACCESS-FAIL = ALL AUDIT-MANAGE-FAIL = NONE
LICENSE = OFF PROGID = OFF CLEARONPURGE = OFF PERSISTENT = OFF
TRUST = OFF
(assumes H-series system)
003,255 R
255,008 R,W,E,P
255,254 R,W
=ADD $data.sales3.q3report
* Use an asterisk (*) to match any number of characters (zero, one, or more).
? Use a question mark (?) to match a single character.