-s|-sc|-ds|-dc|-sd|-scd|-ss|-ssd|-cs|-cds

This BRARCHIVE command option defines the BRARCHIVE function to be performed.

Possible options:
-s|-save|-sc|-second_copy|-ds|-delete_saved|-dc|-delete_copied|
-sd|save_delete|-scd|-second_copy_delete|-ss|-double_save|-ssd|
-double_save_delete|-cs|-copy_save|-cds|-copy_delete_save

Default value: -s

You can start the following operations:

·        -s|-save
Archive the offline redo log files.

·        -sc|-second_copy
Create a second copy of the offline redo log files which were already archived.

·        -ds|-delete_saved
Delete offline redo log files that have been archived once.

·        -dc|-delete_copied
Delete offline redo log files that have been copied twice.

·        -sd|-save_delete
Archive offline redo log files and then delete these files.

·        -scd|-second_copy_delete
Create a second copy of the offline redo log files that have already been archived and then delete these files.

·        -ss|-double_save
Archive the offline redo logs to two backup devices (tape devices) in parallel.

·        -ssd|-double_save_delete
Archive the offline redo logs to two backup devices (tape devices) in parallel and then delete the files.

·        -cs|-copy_save
Create a second copy of offline redo log files that have already been archived and then archive the newly created offline redo log files.

·        -cds|-copy_delete_save
Create a second copy of offline redo log files which were already archived. These are then deleted and archiving of the newly created offline redo log files is begun.

BRARCHIVE will only perform the selected operation for the number of offline redo log files that you selected with the option -n. The program will only delete offline redo log files if they have already been successfully archived or copied.

If only one tape device exists, you can use the option -cs or -cds to ensure that BRARCHIVE creates a second copy of the offline redo log files in a run, deletes them if necessary and immediately continues with archiving. You can also obtain this effect by calling BRARCHIVE first with the option -s and then with the option -sc or -scd. However, in this case two BRARCHIVE calls are required.

Parameters in init<DBSID>.sap: archive_function.