pdaudbegin (Start acquisition of audit trails)
Function
The pdaudbegin command starts acquisition of audit trails.
Executor
Format
- HiRDB/Single Server
- HiRDB/Parallel Server
pdaudbegin [-u unit-identifier] |
Options
- -u unit-identifier
<identifier> ((4 characters))
Specifies the identifier of the unit that is to start acquisition of an audit trail.
If the -u option is omitted, the command starts acquiring audit trail on all units.
Rules
- The pdaudbegin command can be executed only while HiRDB is active.
- The pdaudbegin command must be executed at the server machine that contains the single server or where the system manager is located.
- Executing the pdaudbegin, pdaudend, pdaudrm, or pdaudswap command while the pdaudbegin command is executing results in a command error.
- The pdaudbegin command results in a command error if the pd_aud_file_name operand has not been specified in the system definition or the audit trail file specified in the pd_aud_file_name operand is missing.
- At a HiRDB/Parallel Server, if you execute the pdaudbegin command omitting the -u option and an error occurs during command processing or audit trail acquisition has already begun, the command displays an error message at the corresponding unit. The command starts acquisition of audit trails on units where no error resulted.
Notes
- The result of pdaudbegin command can be checked by using the pdls -d aud command, by checking for any error messages, or on the basis of the return code from execution of the command. A return value of 0 for this command indicates normal termination; 4 indicates that only some of the units have terminated normally; and 8 indicates abnormal termination.
- You can use the pdls -d aud command to determine whether or not audit trails are being acquired.