Editing the oper_deflt.arc File for ON-Archive
Use
This procedure describes how to configure the
oper_deflt.arc file, one of a number of files required for ON-Archive with the Informix database. This file sets the default values for parameters in ON-Archive requests. It contains essential information required by ON-Archive to correctly perform data recovery (that is, archive, backup, and restore). If required, you can override the defaults set in this file. To see how the oper_deflt.arc file relates to the other files required by ON-Archive , see Configuration Files for ON-Archive.Follow this procedure before you start performing archives, backups, and restores of your database.
Procedure
su - informix
$ onarchive 'list/default'
This parameter means that
ON-Archive commands are executed immediately instead of being stored as a request for later execution. We recommend that you use this parameter. The convention in this documentation is to assume it has been set.This parameter means that
ON-Archive commands are executed in unattended mode using the autovop utility. It is best to set this to NOAUTOVOP for normal use.These parameters define the software compression type. SAP recommends that you use rewind tape drives with hardware compression.
This parameter determines how long tape volumes are kept before they can be overwritten with new archive data. Four weeks should be the absolute minimum value for this parameter in a production environment, for example:
EXPIRY_DATE=28

ON-Archive
deletes information about archives and backups that have expired (even if they have not yet been overwritten). This means that valid archives or backups might still exist on the tape concerned. However, ON-Archive does not recognize the existence of the data any longer (the entry has been deleted from the sysmaster database because the expiry date has been reached). Such data can be recataloged if necessary.For more information about volume sets and volumes, see
Volume Sets and Volumes for ON-Archive.This parameter causes
ON-Archive to write a brief log of its actions to a system file (to the working directory). See the ACTIVITYLOG parameter in Editing the File config.arc for ON-Archive for another way to log activity in ON-Archive .This parameter causes
ON-Archive to send an email to the operator who executed the ON-Archive request. The email contains the results of the request. If you use the
DBA Planning Calendar, the email is sent to the user
<sid>adm
.This parameter specifies that multiple save sets from an archive or backup can be written to the same volume. SAP recommends that you set this parameter as shown here. You can override it for particular archives or backups if required, by using the

On AIX, you must define the blocksize for the tape you want to use as 0 to make software changes of blocksize possible. You can do this, for example, using the AIX administration tool
Result
You have now completed one of the steps required to configure
ON-Archive for performing archives, backups, and restores of your database.
See also:
Configuration of ON-Archive Editing the ONCONFIG File for ON-Archive Editing the config.arc File for ON-ArchiveInformix documentation
at http://www.informix.com