User Guide
Ampex 1308910-01 5-7
ACL Utilities ACL Utilities Overview
5.2.9 Exit Status
The ACL management utilities use the following exit status codes to indicate success or
failure. To view the status code in C-shell, type
echo $status.
0 Operation succeeded.
nonzero Operation failed.
On failure, all utilities automatically perform one retry. A nonzero exit status indicates the
retry also failed.
When a utility fails because it detects an invalid command line argument or option, it sets exit
status to EINVAL or EFAULT and writes one of the following DUE messages to stderr.
• The following messages apply to all utilities.
DUE0005: Option Specification Error - out-of-range value specified
for '%s' %s
DUE0006: Option Specification Error - syntax or semantics
incorrect for '%s' %s
DUE0007: Option Specification Error - value is missing for '%s'
DUE0008: Option Specification Error - required option '%s' is
missing
DUE0009: Option Specification Error - extraneous options
specified: '%s'
DUE0010: Output Specification Error - bad keyword syntax %s
DUE0011: Output Specification Error - unknown keyword %s
DUE0029: Unknown Error.
DUE0035: No arguments allowed after this flag. (%s)
• The following message applies to acl_move_tape and acl_audit_element:
DUE0022: Input Specification Error - Bad Source Location Specifier
• The following message applies to acl_move_tape and acl_move_volume:
DUE0023: Input Specification Error - Bad Target Location Specifier
When a utility fails for any reason other than an invalid command line argument or option, it
automatically attempts a Request Sense to retrieve sense data from the ACL.
• If the Request Sense fails, the utility sets exit status to EFAULT and writes one or both of
the following two message to stderr (the DUE0032 message is written to stderr only
when it reports a nonzero value):
DUE0031: Cannot open device file.
DUE0032: SCSI Error (%d): (%s)
where (%d) is the errno value and (%s) is a descriptive string.